summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/process/io/TestProcessIO.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/process/io/TestProcessIO.py')
-rw-r--r--lldb/test/python_api/process/io/TestProcessIO.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/python_api/process/io/TestProcessIO.py b/lldb/test/python_api/process/io/TestProcessIO.py
index 4d6a0221d3e..1096bce85a5 100644
--- a/lldb/test/python_api/process/io/TestProcessIO.py
+++ b/lldb/test/python_api/process/io/TestProcessIO.py
@@ -35,7 +35,9 @@ class ProcessIOTestCase(TestBase):
target = self.dbg.CreateTarget(self.exe)
- self.dbg.SetAsync(True)
+ # Perform synchronous interaction with the debugger.
+ self.setAsync(True)
+
process = target.LaunchSimple(None, None, os.getcwd())
if self.TraceOn():
print "process launched."
OpenPOWER on IntegriCloud