[cfe-commits] r59660 - /cfe/trunk/test/Makefile
Daniel Dunbar
daniel at zuster.org
Wed Nov 19 11:06:57 PST 2008
Author: ddunbar
Date: Wed Nov 19 13:06:57 2008
New Revision: 59660
URL: http://llvm.org/viewvc/llvm-project?rev=59660&view=rev
Log:
Ignore Output directories when searching for tests.
Modified:
cfe/trunk/test/Makefile
Modified: cfe/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Makefile?rev=59660&r1=59659&r2=59660&view=diff
==============================================================================
--- cfe/trunk/test/Makefile (original)
+++ cfe/trunk/test/Makefile Wed Nov 19 13:06:57 2008
@@ -19,7 +19,7 @@
DONE = echo
endif
-TESTS := $(addprefix Output/, $(addsuffix .testresults, $(shell find $(TESTDIRS) \( -name '*.c' -or -name '*.cpp' -or -name '*.m' -or -name '*.mm' \))))
+TESTS := $(addprefix Output/, $(addsuffix .testresults, $(shell find $(TESTDIRS) \( -name '*.c' -or -name '*.cpp' -or -name '*.m' -or -name '*.mm' \) | grep -v "Output/")))
Output/%.testresults: %
@ $(PROGRESS)
@ PATH=$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$$PATH VG=$(VG) $(PROJ_SRC_DIR)/TestRunner.sh $< > $@ || $(REPORTFAIL)
More information about the cfe-commits
mailing list