o SBtarget.cpp/.h:

  Temporarily commenting out the deprecated LaunchProcess() method.
  SWIG is not able to handle the overloaded functions.

o dotest.py/lldbtest.py:

  Add an '-w' option to insert some wait time between consecutive test cases.

o TestClassTypes.py:

  Make the breakpoint_creation_by_filespec_python() test method more robust and
  more descriptive by printing out a more insightful assert message.

o lldb.swig: Coaches swig to treat StateType as an int type, instead of a C++ class.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115899 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/dotest.py b/test/dotest.py
index 804b676..25a7e45 100755
--- a/test/dotest.py
+++ b/test/dotest.py
@@ -99,6 +99,7 @@
 -p   : specify a regexp filename pattern for inclusion in the test suite
 -t   : trace lldb command execution and result
 -v   : do verbose mode of unittest framework
+-w   : insert some wait time (currently 0.5 sec) between consecutive test cases
 
 and:
 args : specify a list of directory names to search for python Test*.py scripts
@@ -191,6 +192,9 @@
         elif sys.argv[index].startswith('-v'):
             verbose = 2
             index += 1
+        elif sys.argv[index].startswith('-w'):
+            os.environ["LLDB_WAIT_BETWEEN_TEST_CASES"] = 'YES'
+            index += 1
         else:
             print "Unknown option: ", sys.argv[index]
             usage()