[Lldb-commits] [lldb] r122450 - in /lldb/trunk/test: breakpoint_conditions/TestBreakpointConditions.py breakpoint_ignore_count/TestBreakpointIgnoreCount.py python_api/event/TestEvents.py python_api/symbol-context/TestSymbolContext.py

Johnny Chen johnny.chen at apple.com
Wed Dec 22 14:56:19 PST 2010


Author: johnny
Date: Wed Dec 22 16:56:19 2010
New Revision: 122450

URL: http://llvm.org/viewvc/llvm-project?rev=122450&view=rev
Log:
No need to pass an empty string as an arg or as an env string to the SBTarget.LaunchProcess() API.

Modified:
    lldb/trunk/test/breakpoint_conditions/TestBreakpointConditions.py
    lldb/trunk/test/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
    lldb/trunk/test/python_api/event/TestEvents.py
    lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py

Modified: lldb/trunk/test/breakpoint_conditions/TestBreakpointConditions.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/breakpoint_conditions/TestBreakpointConditions.py?rev=122450&r1=122449&r2=122450&view=diff
==============================================================================
--- lldb/trunk/test/breakpoint_conditions/TestBreakpointConditions.py (original)
+++ lldb/trunk/test/breakpoint_conditions/TestBreakpointConditions.py Wed Dec 22 16:56:19 2010
@@ -139,7 +139,7 @@
             startstr = 'val == 3')
 
         # Now launch the process, and do not stop at entry point.
-        self.process = target.LaunchProcess([''], [''], os.ctermid(), 0, False)
+        self.process = target.LaunchProcess([], [], os.ctermid(), 0, False)
 
         self.process = target.GetProcess()
         self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID)

Modified: lldb/trunk/test/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/breakpoint_ignore_count/TestBreakpointIgnoreCount.py?rev=122450&r1=122449&r2=122450&view=diff
==============================================================================
--- lldb/trunk/test/breakpoint_ignore_count/TestBreakpointIgnoreCount.py (original)
+++ lldb/trunk/test/breakpoint_ignore_count/TestBreakpointIgnoreCount.py Wed Dec 22 16:56:19 2010
@@ -101,7 +101,7 @@
                         "SetIgnoreCount() works correctly")
 
         # Now launch the process, and do not stop at entry point.
-        self.process = target.LaunchProcess([''], [''], os.ctermid(), 0, False)
+        self.process = target.LaunchProcess([], [], os.ctermid(), 0, False)
 
         self.process = target.GetProcess()
         self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID)

Modified: lldb/trunk/test/python_api/event/TestEvents.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/event/TestEvents.py?rev=122450&r1=122449&r2=122450&view=diff
==============================================================================
--- lldb/trunk/test/python_api/event/TestEvents.py (original)
+++ lldb/trunk/test/python_api/event/TestEvents.py Wed Dec 22 16:56:19 2010
@@ -60,7 +60,7 @@
                         VALID_BREAKPOINT)
 
         # Now launch the process, and do not stop at entry point.
-        self.process = target.LaunchProcess([''], [''], os.ctermid(), 0, False)
+        self.process = target.LaunchProcess([], [], os.ctermid(), 0, False)
 
         self.process = target.GetProcess()
         self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID)
@@ -121,7 +121,7 @@
                         VALID_BREAKPOINT)
 
         # Now launch the process, and do not stop at the entry point.
-        self.process = target.LaunchProcess([''], [''], os.ctermid(), 0, False)
+        self.process = target.LaunchProcess([], [], os.ctermid(), 0, False)
 
         self.process = target.GetProcess()
         self.assertTrue(self.process.GetState() == lldb.eStateStopped,

Modified: lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py?rev=122450&r1=122449&r2=122450&view=diff
==============================================================================
--- lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py (original)
+++ lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py Wed Dec 22 16:56:19 2010
@@ -47,7 +47,7 @@
                         VALID_BREAKPOINT)
 
         # Now launch the process, and do not stop at entry point.
-        self.process = target.LaunchProcess([''], [''], os.ctermid(), 0, False)
+        self.process = target.LaunchProcess([], [], os.ctermid(), 0, False)
 
         self.process = target.GetProcess()
         self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID)





More information about the lldb-commits mailing list