From 8222151a7e6722e223b0bab89e48e5d87935b16c Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 18 Apr 2016 11:01:41 +0000 Subject: [PATCH] Fixup r266327 Fix XFAILed tests in TestThreadStates for the new signature of wait_for_running_event. llvm-svn: 266598 --- .../lldbsuite/test/functionalities/thread/state/TestThreadStates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py index 160a3ef..5afb57b 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py @@ -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.") -- 2.7.4