[Lldb-commits] [lldb] r129779 - /lldb/trunk/test/class_static/TestStaticVariables.py

Johnny Chen johnny.chen at apple.com
Tue Apr 19 11:23:28 PDT 2011


Author: johnny
Date: Tue Apr 19 13:23:28 2011
New Revision: 129779

URL: http://llvm.org/viewvc/llvm-project?rev=129779&view=rev
Log:
Converted to use SBProcess.LaunchSimple().

Modified:
    lldb/trunk/test/class_static/TestStaticVariables.py

Modified: lldb/trunk/test/class_static/TestStaticVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/class_static/TestStaticVariables.py?rev=129779&r1=129778&r2=129779&view=diff
==============================================================================
--- lldb/trunk/test/class_static/TestStaticVariables.py (original)
+++ lldb/trunk/test/class_static/TestStaticVariables.py Tue Apr 19 13:23:28 2011
@@ -80,8 +80,7 @@
         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)





More information about the lldb-commits mailing list