diff options
-rw-r--r-- | lldb/test/python_api/target/TestTargetAPI.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/test/python_api/target/TestTargetAPI.py b/lldb/test/python_api/target/TestTargetAPI.py index acdf1481769..a21fa47d0c9 100644 --- a/lldb/test/python_api/target/TestTargetAPI.py +++ b/lldb/test/python_api/target/TestTargetAPI.py @@ -106,8 +106,7 @@ class TargetAPITestCase(TestBase): VALID_BREAKPOINT) # Now launch the process, and do not stop at entry point. - error = lldb.SBError() - self.process = target.Launch (self.dbg.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error) + self.process = target.LaunchSimple(None, None, os.getcwd()) self.process = target.GetProcess() self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID) |