[Lldb-commits] [lldb] r371028 - [lldb][NFC] Stabilize gui/basic test by waiting on prompt
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 5 01:45:20 PDT 2019
Author: teemperor
Date: Thu Sep 5 01:45:20 2019
New Revision: 371028
URL: http://llvm.org/viewvc/llvm-project?rev=371028&view=rev
Log:
[lldb][NFC] Stabilize gui/basic test by waiting on prompt
We should wait on the GUI to exit before tearing down the test.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py?rev=371028&r1=371027&r2=371028&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py Thu Sep 5 01:45:20 2019
@@ -56,4 +56,5 @@ class BasicGuiCommandTest(PExpectTest):
# Press escape to quit the gui
self.child.send(escape_key)
+ self.expect_prompt()
self.quit()
More information about the lldb-commits
mailing list