[lldb][NFC] Stabilize gui/basic test by waiting on prompt
authorRaphael Isemann <teemperor@gmail.com>
Thu, 5 Sep 2019 08:45:20 +0000 (08:45 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 5 Sep 2019 08:45:20 +0000 (08:45 +0000)
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

index 89bd3e1..15c60de 100644 (file)
@@ -56,4 +56,5 @@ class BasicGuiCommandTest(PExpectTest):
         # Press escape to quit the gui
         self.child.send(escape_key)
 
+        self.expect_prompt()
         self.quit()