[Lldb-commits] [lldb] [lldb] Add missing quit to TestClangREPL.py (PR #201058)
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 2 01:34:29 PDT 2026
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 <rise at apple.com>
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()
More information about the lldb-commits
mailing list