summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-03-17 15:58:58 +0000
committerGabor Greif <ggreif@gmail.com>2008-03-17 15:58:58 +0000
commit430efdb95b3fbf6b79a1d7befee1228d3bf006af (patch)
tree7713848ed03b019536606132e80f274cc61eb6e5 /clang/test
parent4892b3fd5b4a0746faa8473866095277ae22c086 (diff)
downloadbcm5719-llvm-430efdb95b3fbf6b79a1d7befee1228d3bf006af.tar.gz
bcm5719-llvm-430efdb95b3fbf6b79a1d7befee1228d3bf006af.zip
Simplify further by creating *.testresults files
inside of the Output/ directory. The testclean target could be removed now. llvm-svn: 48457
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Makefile.parallel12
1 files changed, 4 insertions, 8 deletions
diff --git a/clang/test/Makefile.parallel b/clang/test/Makefile.parallel
index c110edb6088..bc4209c5dc2 100644
--- a/clang/test/Makefile.parallel
+++ b/clang/test/Makefile.parallel
@@ -8,24 +8,20 @@ ifeq ($(OS),Darwin)
TESTDIRS += Rewriter
endif
-TESTS = $(addsuffix .testresults, $(shell find $(TESTDIRS) \( -name '*.c' -or -name '*.cpp' -or -name '*.m' \)))
+TESTS = $(addprefix Output/, $(addsuffix .testresults, $(shell find $(TESTDIRS) \( -name '*.c' -or -name '*.cpp' -or -name '*.m' \))))
-%.testresults: %
+Output/%.testresults: %
@ printf '.'
@ PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts ./TestRunner.sh $< > $@ || (echo; echo '----' $< 'failed ----')
all::
+ @ rm -f $(TESTS)
@ echo '--- Running clang tests ---'
- @ $(MAKE) -f Makefile.parallel testclean
@ $(MAKE) -f Makefile.parallel $(TESTS)
@ echo
@ $(MAKE) -f Makefile.parallel report
- @ $(MAKE) -f Makefile.parallel testclean
report: $(TESTS)
@ cat $^
-testclean:
- @ rm -f $(TESTS)
-
-.PHONY: all report testclean
+.PHONY: all report
OpenPOWER on IntegriCloud