Author: ddunbar
Date: Wed Sep 17 13:08:07 2008
New Revision: 56285
URL: http://llvm.org/viewvc/llvm-project?rev=56285&view=rev
Log:
Another attempt to make test/Makefile return correct error code.
Modified:
cfe/trunk/test/Makefile
Modified: cfe/trunk/test/Makefile
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Makefile?rev=56285&r1=56284&r2=56285&view=diff
==============================================================================
--- cfe/trunk/test/Makefile (original)
+++ cfe/trunk/test/Makefile Wed Sep 17 13:08:07 2008
@@ -20,7 +20,6 @@
endif
TESTS := $(addprefix Output/, $(addsuffix .testresults, $(shell find
$(TESTDIRS) \( -name '*.c' -or -name '*.cpp' -or -name '*.m' -or -name '*.mm'
\))))
-
Output/%.testresults: %
@ $(PROGRESS)
@ PATH=$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$$PATH VG=$(VG)
$(PROJ_SRC_DIR)/TestRunner.sh $< > $@ || $(REPORTFAIL)
@@ -31,7 +30,7 @@
@ echo '--- Running clang tests ---'
@ $(MAKE) $(TESTS)
@ $(DONE)
- @ cat $(TESTS) | grep -v 'XFAILED' | grep -v ' HAS NO RUN LINE! ****' |
$(LLVM_SRC_ROOT)/test/Scripts/count 0 > /dev/null
+ @ !(cat $(TESTS) | grep -q " FAILED! ")
report: $(TESTS)
@ cat $^
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits