summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-19 19:06:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-19 19:06:57 +0000
commitbc47ed8e740fef260e0273c2cfd07fb6b18c7204 (patch)
treead8658663879ec487675d5ebea4d727240dddbd4
parent79303b25722dabff43f68f750d84edb5335ca76f (diff)
downloadbcm5719-llvm-bc47ed8e740fef260e0273c2cfd07fb6b18c7204.tar.gz
bcm5719-llvm-bc47ed8e740fef260e0273c2cfd07fb6b18c7204.zip
Ignore Output directories when searching for tests.
llvm-svn: 59660
-rw-r--r--clang/test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Makefile b/clang/test/Makefile
index 0963fee542c..5ef0e024028 100644
--- a/clang/test/Makefile
+++ b/clang/test/Makefile
@@ -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)
OpenPOWER on IntegriCloud