Fixup r266327

Fix XFAILed tests in TestThreadStates for the new signature of wait_for_running_event.

llvm-svn: 266598
This commit is contained in:
Pavel Labath 2016-04-18 11:01:41 +00:00
parent de3f7678d1
commit 8222151a7e
1 changed files with 2 additions and 2 deletions

View File

@ -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.")