[Lldb-commits] [lldb] r346572 - Add extra diagnostics to test
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 9 16:16:40 PST 2018
Author: adrian
Date: Fri Nov 9 16:16:39 2018
New Revision: 346572
URL: http://llvm.org/viewvc/llvm-project?rev=346572&view=rev
Log:
Add extra diagnostics to test
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py?rev=346572&r1=346571&r2=346572&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py Fri Nov 9 16:16:39 2018
@@ -61,6 +61,8 @@ class ExecTestCase(TestBase):
None, None, self.get_process_working_directory())
self.assertTrue(process, PROCESS_IS_VALID)
+ if self.TraceOn():
+ self.runCmd("settings show target.process.stop-on-exec", check=False)
if skip_exec:
self.dbg.HandleCommand("settings set target.process.stop-on-exec false")
def cleanup():
@@ -94,6 +96,8 @@ class ExecTestCase(TestBase):
process.Continue()
if not skip_exec:
+ self.assertFalse(process.GetState() == lldb.eStateExited,
+ "Process should not have exited!")
self.assertTrue(process.GetState() == lldb.eStateStopped,
"Process should be stopped at __dyld_start")
More information about the lldb-commits
mailing list