зеркало из https://github.com/microsoft/clang.git
Ignore Output directories when searching for tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59660 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
148f061354
Коммит
bd1f63a1ac
|
@ -19,7 +19,7 @@ REPORTFAIL = (echo; echo '----' $< 'failed ----')
|
||||||
DONE = echo
|
DONE = echo
|
||||||
endif
|
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: %
|
Output/%.testresults: %
|
||||||
@ $(PROGRESS)
|
@ $(PROGRESS)
|
||||||
@ PATH=$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$$PATH VG=$(VG) $(PROJ_SRC_DIR)/TestRunner.sh $< > $@ || $(REPORTFAIL)
|
@ PATH=$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$$PATH VG=$(VG) $(PROJ_SRC_DIR)/TestRunner.sh $< > $@ || $(REPORTFAIL)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче