summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/test_runner/lib/process_control.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/test_runner/lib/process_control.py b/lldb/packages/Python/lldbsuite/test/test_runner/lib/process_control.py
index ba30840147e..50bcdab33c5 100644
--- a/lldb/packages/Python/lldbsuite/test/test_runner/lib/process_control.py
+++ b/lldb/packages/Python/lldbsuite/test/test_runner/lib/process_control.py
@@ -619,10 +619,10 @@ def patched_init(self, *args, **kwargs):
self.wait_condition = threading.Condition()
-def patched_wait(self):
+def patched_wait(self, *args, **kwargs):
self.wait_condition.acquire()
try:
- result = self.original_wait()
+ result = self.original_wait(*args, **kwargs)
# The process finished. Signal the condition.
self.wait_condition.notify_all()
return result
@@ -630,10 +630,10 @@ def patched_wait(self):
self.wait_condition.release()
-def patched_poll(self):
+def patched_poll(self, *args, **kwargs):
self.wait_condition.acquire()
try:
- result = self.original_poll()
+ result = self.original_poll(*args, **kwargs)
if self.returncode is not None:
# We did complete, and we have the return value.
# Signal the event to indicate we're done.
OpenPOWER on IntegriCloud