]> granicus.if.org Git - clang/commitdiff
Ignore Output directories when searching for tests.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 19 Nov 2008 19:06:57 +0000 (19:06 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 19 Nov 2008 19:06:57 +0000 (19:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59660 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index 0963fee542ca04e73acab2a9bd32669fd57974ff..5ef0e024028dc2dcd861ca8476f8d107bd6bc3ed 100644 (file)
@@ -19,7 +19,7 @@ REPORTFAIL = (echo; echo '----' $< 'failed ----')
 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)