mgorny created this revision. mgorny added reviewers: labath, emaste, krytarowski. Herald added a subscriber: arichardson. mgorny requested review of this revision.
The test is skipped/xfailing on all platforms, so it seems that the API got out of sync. Fix that so it returns to a 'proper' failure on FreeBSD. https://reviews.llvm.org/D92746 Files: lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py Index: lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py =================================================================== --- lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py +++ lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py @@ -145,7 +145,8 @@ if len(breakpoint_threads) == 1: success = thread.Suspend() self.assertTrue(success, "Couldn't suspend a thread") - bkpt_threads = lldbutil.continue_to_breakpoint(bkpt) + bkpt_threads = lldbutil.continue_to_breakpoint(self.inferior_process, + bkpt) self.assertEqual(len(bkpt_threads), 1, "Second thread stopped") success = thread.Resume() self.assertTrue(success, "Couldn't resume a thread")
Index: lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py =================================================================== --- lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py +++ lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py @@ -145,7 +145,8 @@ if len(breakpoint_threads) == 1: success = thread.Suspend() self.assertTrue(success, "Couldn't suspend a thread") - bkpt_threads = lldbutil.continue_to_breakpoint(bkpt) + bkpt_threads = lldbutil.continue_to_breakpoint(self.inferior_process, + bkpt) self.assertEqual(len(bkpt_threads), 1, "Second thread stopped") success = thread.Resume() self.assertTrue(success, "Couldn't resume a thread")
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits