summaryrefslogtreecommitdiffstats
path: root/lldb/test/class_static/TestStaticVariables.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-04-19 18:23:28 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-04-19 18:23:28 +0000
commit822198ef776515216795805f4ae15170fef1ad75 (patch)
tree830f129371d9d779df3d9b89e94e929e24ad1317 /lldb/test/class_static/TestStaticVariables.py
parentc506d8bf9ff1f9a1a43d651a4eadb7ed313369c8 (diff)
downloadbcm5719-llvm-822198ef776515216795805f4ae15170fef1ad75.tar.gz
bcm5719-llvm-822198ef776515216795805f4ae15170fef1ad75.zip
Converted to use SBProcess.LaunchSimple().
llvm-svn: 129779
Diffstat (limited to 'lldb/test/class_static/TestStaticVariables.py')
-rw-r--r--lldb/test/class_static/TestStaticVariables.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/test/class_static/TestStaticVariables.py b/lldb/test/class_static/TestStaticVariables.py
index 10308f9df84..465607f6914 100644
--- a/lldb/test/class_static/TestStaticVariables.py
+++ b/lldb/test/class_static/TestStaticVariables.py
@@ -80,8 +80,7 @@ class StaticVariableTestCase(TestBase):
self.assertTrue(breakpoint.IsValid(), 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