https://github.com/Teemperor created 
https://github.com/llvm/llvm-project/pull/201058

Without the explicit quit, the test runs until the pexpect instance times out 
after 1 minute.

This patch reduces the time of this test from >1m to about 10s.

>From 6975c3b69d3c3fc5025dda6a06cb4fb50072690a Mon Sep 17 00:00:00 2001
From: Raphael Isemann <[email protected]>
Date: Tue, 2 Jun 2026 09:32:15 +0100
Subject: [PATCH] [lldb] Add missing quit to TestClangREPL.py

Without the explicit quit, the test runs until the pexpect instance
times out after 1 minute.

This patch reduces the time of this test from >1m to about 10s.
---
 lldb/test/API/repl/clang/TestClangREPL.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lldb/test/API/repl/clang/TestClangREPL.py 
b/lldb/test/API/repl/clang/TestClangREPL.py
index 97d91d1b8f7a5..60d8c9f839098 100644
--- a/lldb/test/API/repl/clang/TestClangREPL.py
+++ b/lldb/test/API/repl/clang/TestClangREPL.py
@@ -68,3 +68,5 @@ def test_completion_with_space_only_line(self):
         self.child.send("   ")
         self.child.send("\t")
         self.expect_repl("3 + 3", substrs=["(int) $0 = 6"])
+
+        self.quit()

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to