[lldb][testsuite] Check that process is launched successfully in inline tests

This commit is contained in:
Tatyana Krasnukha 2020-03-26 15:03:27 +03:00
parent ccf1c30cde
commit 2bfe2b878a
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,8 @@ class InlineTest(TestBase):
parser.set_breakpoints(target)
process = target.LaunchSimple(None, None, self.get_process_working_directory())
self.assertIsNotNone(process, PROCESS_IS_VALID)
hit_breakpoints = 0
while lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint):