aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
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
commitbd1f63a1ac89ba05c65d01c9e5310f06e28c612e (patch)
tree785a7df7a5d9cfa4da10d5f1601f471d8428bbdd /test/Makefile
parent148f061354873ce5b0221bcbfa43fa07ec4e5de6 (diff)
Ignore Output directories when searching for tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 0963fee542..5ef0e02402 100644
--- a/test/Makefile
+++ b/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)