This revision was automatically updated to reflect the committed changes. Closed by commit rGc7be982c836c: [lldb][gui] move TestGuiBasicDebug.py to lldb/test and update it (authored by llunak). Herald added a project: LLDB.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85106/new/ https://reviews.llvm.org/D85106 Files: lldb/packages/Python/lldbsuite/test/commands/gui/basicdebug/Makefile lldb/packages/Python/lldbsuite/test/commands/gui/basicdebug/TestGuiBasicDebug.py lldb/packages/Python/lldbsuite/test/commands/gui/basicdebug/func.c lldb/packages/Python/lldbsuite/test/commands/gui/basicdebug/main.c lldb/test/API/commands/gui/basicdebug/Makefile lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py lldb/test/API/commands/gui/basicdebug/func.c lldb/test/API/commands/gui/basicdebug/main.c Index: lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py =================================================================== --- lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py +++ lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py @@ -11,7 +11,11 @@ mydir = TestBase.compute_mydir(__file__) + # PExpect uses many timeouts internally and doesn't play well + # under ASAN on a loaded machine.. + @skipIfAsan @skipIfCursesSupportMissing + @skipIfRemote # "run" command will not work correctly for remote debug def test_gui(self): self.build() @@ -39,4 +43,8 @@ self.child.send("n") # step over self.child.expect("return 0;[^\r\n]+<<< Thread 1: step over") + # Press escape to quit the gui + self.child.send(escape_key) + + self.expect_prompt() self.quit()
Index: lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py =================================================================== --- lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py +++ lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py @@ -11,7 +11,11 @@ mydir = TestBase.compute_mydir(__file__) + # PExpect uses many timeouts internally and doesn't play well + # under ASAN on a loaded machine.. + @skipIfAsan @skipIfCursesSupportMissing + @skipIfRemote # "run" command will not work correctly for remote debug def test_gui(self): self.build() @@ -39,4 +43,8 @@ self.child.send("n") # step over self.child.expect("return 0;[^\r\n]+<<< Thread 1: step over") + # Press escape to quit the gui + self.child.send(escape_key) + + self.expect_prompt() self.quit()
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits