For SBTarget.Launch()/LaunchProcess(), there's no need to pass an empty string
as the args and the envs to the launched process.

o lldbtest.py:

  Forgot to check in some assertion messages changes for lldbtest.py.

o dotest.py:

  Also add "api" category to the default lldb log option list.

llvm-svn: 121220
diff --git a/lldb/test/array_types/TestArrayTypes.py b/lldb/test/array_types/TestArrayTypes.py
index 3e25a7d..4ff1f44 100644
--- a/lldb/test/array_types/TestArrayTypes.py
+++ b/lldb/test/array_types/TestArrayTypes.py
@@ -108,7 +108,7 @@
             substrs = ["resolved = 1"])
 
         # 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)
diff --git a/lldb/test/bitfields/TestBitfields.py b/lldb/test/bitfields/TestBitfields.py
index 4ae75e7..576e06f 100644
--- a/lldb/test/bitfields/TestBitfields.py
+++ b/lldb/test/bitfields/TestBitfields.py
@@ -94,7 +94,7 @@
 
         self.runCmd("run", RUN_SUCCEEDED, setCookie=False)
         # This does not work, and results in the process stopped at dyld_start?
-        #process = target.LaunchProcess([''], [''], os.ctermid(), False)
+        #process = target.LaunchProcess([], [], os.ctermid(), False)
 
         self.process = target.GetProcess()
         self.assertTrue(self.process.IsValid(), PROCESS_IS_VALID)
diff --git a/lldb/test/class_static/TestStaticVariables.py b/lldb/test/class_static/TestStaticVariables.py
index f84099b..0164b3e 100644
--- a/lldb/test/class_static/TestStaticVariables.py
+++ b/lldb/test/class_static/TestStaticVariables.py
@@ -78,7 +78,7 @@
         self.assertTrue(breakpoint.IsValid(), 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)
diff --git a/lldb/test/class_types/TestClassTypes.py b/lldb/test/class_types/TestClassTypes.py
index 065c3cf..c0da1a9 100644
--- a/lldb/test/class_types/TestClassTypes.py
+++ b/lldb/test/class_types/TestClassTypes.py
@@ -118,7 +118,7 @@
 
         # Now launch the process, and do not stop at entry point.
         rc = lldb.SBError()
-        self.process = target.Launch([''], [''], os.ctermid(), 0, False, rc)
+        self.process = target.Launch([], [], os.ctermid(), 0, False, rc)
         #self.breakAfterLaunch(self.process, "C::C(int, int, int)")
 
         if not rc.Success() or not self.process.IsValid():
diff --git a/lldb/test/conditional_break/TestConditionalBreak.py b/lldb/test/conditional_break/TestConditionalBreak.py
index 2da1a0a..586d454 100644
--- a/lldb/test/conditional_break/TestConditionalBreak.py
+++ b/lldb/test/conditional_break/TestConditionalBreak.py
@@ -51,7 +51,7 @@
 
         # Now launch the process, and do not stop at entry point.
         rc = lldb.SBError()
-        self.process = target.Launch([''], [''], os.ctermid(), 0, False, rc)
+        self.process = target.Launch([], [], os.ctermid(), 0, False, rc)
 
         self.assertTrue(rc.Success() and self.process.IsValid(), PROCESS_IS_VALID)
 
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index 22653db..7634c2a 100755
--- a/lldb/test/dotest.py
+++ b/lldb/test/dotest.py
@@ -557,7 +557,7 @@
         if ("LLDB_LOG_OPTION" in os.environ):
             lldb_log_option = os.environ["LLDB_LOG_OPTION"]
         else:
-            lldb_log_option = "event process expr state"
+            lldb_log_option = "event process expr state api"
         ci.HandleCommand(
             "log enable -T -n -f " + os.environ["LLDB_LOG"] + " lldb " + lldb_log_option,
             res)
diff --git a/lldb/test/foundation/TestSymbolTable.py b/lldb/test/foundation/TestSymbolTable.py
index 6689a1e..7f1560d 100644
--- a/lldb/test/foundation/TestSymbolTable.py
+++ b/lldb/test/foundation/TestSymbolTable.py
@@ -43,7 +43,7 @@
         self.assertTrue(target.IsValid(), VALID_TARGET)
 
         # Launch the process, and do not stop at the entry point.
-        process = target.LaunchProcess([''], [''], os.ctermid(), 0, False)
+        process = target.LaunchProcess([], [], os.ctermid(), 0, False)
 
         #
         # Exercise Python APIs to access the symbol table entries.
diff --git a/lldb/test/hello_world/TestHelloWorld.py b/lldb/test/hello_world/TestHelloWorld.py
index e2497d4..e304f6e 100644
--- a/lldb/test/hello_world/TestHelloWorld.py
+++ b/lldb/test/hello_world/TestHelloWorld.py
@@ -51,7 +51,7 @@
         # SBTarget.LaunchProcess() issue (or is there some race condition)?
 
         if useLaunchAPI:
-            process = target.LaunchProcess([''], [''], os.ctermid(), 0, False)
+            process = target.LaunchProcess([], [], os.ctermid(), 0, False)
             # The following isn't needed anymore, rdar://8364687 is fixed.
             #
             # Apply some dances after LaunchProcess() in order to break at "main".
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index daa1d31..87a99af 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -174,8 +174,12 @@
 
 VALID_FILESPEC = "Got a valid filespec"
 
+VALID_MODULE = "Got a valid module"
+
 VALID_PROCESS = "Got a valid process"
 
+VALID_SYMBOL = "Got a valid symbol"
+
 VALID_TARGET = "Got a valid target"
 
 VARIABLES_DISPLAYED_CORRECTLY = "Variable(s) displayed correctly"
diff --git a/lldb/test/threads/TestPrintStackTraces.py b/lldb/test/threads/TestPrintStackTraces.py
index 1d02824..5592950 100644
--- a/lldb/test/threads/TestPrintStackTraces.py
+++ b/lldb/test/threads/TestPrintStackTraces.py
@@ -35,7 +35,7 @@
 
         # Now launch the process, and do not stop at entry point.
         rc = lldb.SBError()
-        self.process = target.Launch([''], [''], os.ctermid(), 0, False, rc)
+        self.process = target.Launch([], [], os.ctermid(), 0, False, rc)
 
         if not rc.Success() or not self.process.IsValid():
             self.fail("SBTarget.LaunchProcess() failed")