forked from OSchip/llvm-project
Fixup r266327
Fix XFAILed tests in TestThreadStates for the new signature of wait_for_running_event. llvm-svn: 266598
This commit is contained in:
parent
de3f7678d1
commit
8222151a7e
|
@ -180,7 +180,7 @@ class ThreadStateTestCase(TestBase):
|
|||
# Continue, the inferior will go into an infinite loop waiting for 'g_test' to change.
|
||||
self.dbg.SetAsync(True)
|
||||
self.runCmd("continue")
|
||||
self.wait_for_running_event()
|
||||
self.wait_for_running_event(process)
|
||||
|
||||
# Go back to synchronous interactions
|
||||
self.dbg.SetAsync(False)
|
||||
|
@ -221,7 +221,7 @@ class ThreadStateTestCase(TestBase):
|
|||
# Continue, the inferior will go into an infinite loop waiting for 'g_test' to change.
|
||||
self.dbg.SetAsync(True)
|
||||
self.runCmd("continue")
|
||||
self.wait_for_running_event()
|
||||
self.wait_for_running_event(process)
|
||||
|
||||
# Check the thread state. It should be running.
|
||||
self.assertFalse(thread.IsStopped(), "Thread state is \'stopped\' when it should be running.")
|
||||
|
|
Loading…
Reference in New Issue