[llvm-commits] [llvm] r49846 - /llvm/branches/ggreif/parallelized-test/Makefile

Gabor Greif ggreif at gmail.com
Thu Apr 17 03:54:43 PDT 2008


Author: ggreif
Date: Thu Apr 17 05:54:31 2008
New Revision: 49846

URL: http://llvm.org/viewvc/llvm-project?rev=49846&view=rev
Log:
output is almost perfect now. starting to understand sed :-)

Modified:
    llvm/branches/ggreif/parallelized-test/Makefile

Modified: llvm/branches/ggreif/parallelized-test/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/parallelized-test/Makefile?rev=49846&r1=49845&r2=49846&view=diff

==============================================================================
--- llvm/branches/ggreif/parallelized-test/Makefile (original)
+++ llvm/branches/ggreif/parallelized-test/Makefile Thu Apr 17 05:54:31 2008
@@ -72,16 +72,15 @@
 .PHONY: report
 
 PRETTIFY-DEJA = sed \
-		-e 's/Running /Preparing /1' \
+		-e 's/Running \(.*\) \.\.\./Preparing \1 .../1' \
 		-e 's/		===  Summary ===/--- Running llvm tests ---/1' \
-		-e 's/		=== /--- Running /1' \
-		-e 's/ Summary ===/ tests ---/1'
+		-e 's/		=== \(.*\) Summary ===/--- Running \1 tests ---/1'
 
 PRETTIFY-REPORT = sed \
-		-e 's|XPASS: |\# of unexpected successes	|1' \
-		-e 's|PASS: |\# of expected passes	|1' \
-		-e 's|XFAIL: |\# of expected failures	|1' \
-		-e 's|FAIL: |\# of unexpected failures	|1'
+		-e 's/XPASS: /\# of unexpected successes		/1' \
+		-e 's/PASS: /\# of expected passes		/1' \
+		-e 's/XFAIL: /\# of expected failures		/1' \
+		-e 's/FAIL: /\# of unexpected failures		/1'
 
 check-local:: site.exp
 	@ ( PATH="$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
@@ -90,6 +89,9 @@
 	    $(MAKE) -f $(LLVM_SRC_ROOT)/test/Makefile $(addsuffix .out, $(shell find $(TESTDIRS) -name Test.makefile)))
 	@ $(DONE)
 	@ $(MAKE) -f $(LLVM_SRC_ROOT)/test/Makefile --always-make PASS.report FAIL.report XPASS.report XFAIL.report
+	@ echo
+	@ echo "		=== $(TESTDIRS) Summary ==="
+	@ echo
 	@ cat PASS.report FAIL.report XPASS.report XFAIL.report | $(PRETTIFY-REPORT)
 else
 check-local:: site.exp





More information about the llvm-commits mailing list