From cbce3cef52b134f83061f6f4c8f0bb8f916838bf Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Thu, 5 Sep 2019 08:45:20 +0000 Subject: [PATCH] [lldb][NFC] Stabilize gui/basic test by waiting on prompt We should wait on the GUI to exit before tearing down the test. llvm-svn: 371028 --- lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py b/lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py index 89bd3e1..15c60de 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py +++ b/lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py @@ -56,4 +56,5 @@ class BasicGuiCommandTest(PExpectTest): # Press escape to quit the gui self.child.send(escape_key) + self.expect_prompt() self.quit() -- 2.7.4