summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-04-18 11:01:41 +0000
committerPavel Labath <labath@google.com>2016-04-18 11:01:41 +0000
commit8222151a7e6722e223b0bab89e48e5d87935b16c (patch)
tree880cd638fa08bf01c04c56f1343fc7b5549527b1 /lldb/packages/Python/lldbsuite/test
parentde3f7678d175b65cc84c7023f746a6dc0aaf03ef (diff)
downloadbcm5719-llvm-8222151a7e6722e223b0bab89e48e5d87935b16c.tar.gz
bcm5719-llvm-8222151a7e6722e223b0bab89e48e5d87935b16c.zip
Fixup r266327
Fix XFAILed tests in TestThreadStates for the new signature of wait_for_running_event. llvm-svn: 266598
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py4
1 files 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 160a3eff784..5afb57bf4ba 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.")
OpenPOWER on IntegriCloud