diff options
Diffstat (limited to 'lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py')
-rw-r--r-- | lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py index 43bf1eb6c71..899507279ec 100644 --- a/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py +++ b/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py @@ -35,19 +35,19 @@ class ThreadsStackTracesTestCase(TestBase): # Now launch the process, and do not stop at entry point. rc = lldb.SBError() - self.process = target.Launch (self.dbg.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, rc) + process = target.Launch (self.dbg.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, rc) - if not rc.Success() or not self.process: + if not rc.Success() or not process: self.fail("SBTarget.LaunchProcess() failed") import lldbutil - if self.process.GetState() != lldb.eStateStopped: + if process.GetState() != lldb.eStateStopped: self.fail("Process should be in the 'stopped' state, " "instead the actual state is: '%s'" % - lldbutil.state_type_to_str(self.process.GetState())) + lldbutil.state_type_to_str(process.GetState())) if self.TraceOn(): - lldbutil.print_stacktraces(self.process) + lldbutil.print_stacktraces(process) if __name__ == '__main__': |