From: Daniel Dunbar Date: Wed, 19 Nov 2008 19:06:57 +0000 (+0000) Subject: Ignore Output directories when searching for tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd1f63a1ac89ba05c65d01c9e5310f06e28c612e;p=clang Ignore Output directories when searching for tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59660 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)