Second round of review feedback.

* print out message when tests start
* testrunner sets status now
* on failed test run print out test name

I tested these changes with the non-parallel makefile
and it did not break.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48453 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Makefile.parallel b/test/Makefile.parallel
index 8162f81..5ab240b 100644
--- a/test/Makefile.parallel
+++ b/test/Makefile.parallel
@@ -14,7 +14,7 @@
 Makefile.tests:
 	@ echo '%.testresults: %' > $@
 	@ echo "^@ printf '.'" | tr "^" "\t" >> $@
-	@ echo "^@ PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts ./TestRunner.sh &< > &@ || echo $$^" | tr "^&" '\t$$' >> $@
+	@ echo "^@ PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts ./TestRunner.sh &< > &@ || (echo; echo '----' &! 'failed ----')" | tr '^!&' '\t^$$' >> $@
 	@ echo >> $@
 	@ echo "TESTS =" \\ >> $@
 	@ find $(TESTDIRS) \
@@ -33,6 +33,7 @@
 	@ echo ".PHONY: all report clean" >> $@
 
 all:: Makefile.tests
+	@ echo '--- Running clang tests ---'
 	@ $(MAKE) -f $< clean
 	@ $(MAKE) -f $< all report
 	@ $(MAKE) -f $< clean