summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-04-19 19:54:06 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-04-19 19:54:06 +0000
commitbd9b6e9ffb8d21f3e1719905370d4494ecf3f8c8 (patch)
treed5a069803b74fdd72a351678854395135ac3d832 /lldb/test/python_api/target/TestTargetAPI.py
parent1618023018cd6d3cb33fb39d268729772be82a85 (diff)
downloadbcm5719-llvm-bd9b6e9ffb8d21f3e1719905370d4494ecf3f8c8.tar.gz
bcm5719-llvm-bd9b6e9ffb8d21f3e1719905370d4494ecf3f8c8.zip
Converted to use SBProcess.LaunchSimple().
llvm-svn: 129795
Diffstat (limited to 'lldb/test/python_api/target/TestTargetAPI.py')
-rw-r--r--lldb/test/python_api/target/TestTargetAPI.py3
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)
OpenPOWER on IntegriCloud