Improve test harness for the buildbots
- Add a "parsable" mode to dotest.py that outputs test results in exactly the same format as clang's lit tests
- Improve dosep script to output list of failing tests (output should look like clang test failure summaries)
- Cleanup lldb/test/Makefile to remove needless parameters and environment variables
- Switch makefile tests to use parsable-mode output; should make the buildbot results parsable
- Switch makefile tests to use dosep to log catch crashing tests (instead of halting the test suite)



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175309 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Makefile b/test/Makefile
index be45b36..495b09f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -29,10 +29,5 @@
 # Run the tests
 #----------------------------------------------------------------------
 check-local::
-	rm -rf ../test-rdir
-	env PATH="$(ToolDir):$(PATH)" \
-	    PYTHONPATH="$(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True, False, \"$(LibDir)/..\")" )" \
-	    LLDB_EXEC=$(ToolDir)/lldb \
-	    LLDB_BUILD_TYPE=Makefile \
-	    $(SHLIBPATH_VAR)=$(LibDir):$($(SHLIBPATH_VAR)) \
-	     python $(PROJ_SRC_DIR)/dotest.py -i -v -r ../test-rdir
+	rm -rf lldb-test-traces
+	python $(PROJ_SRC_DIR)/dosep.ty -o "--executable $(ToolDir)/lldb -q -s lldb-test-traces"