diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index d41ab39d1..264314a3b 100644 --- a/test/Makefile.in +++ b/test/Makefile.in | |||
@@ -1,13 +1,14 @@ | |||
1 | TESTS=$(patsubst %/,%,$(wildcard */)) | 1 | TESTS=$(patsubst %/,%,$(wildcard */)) |
2 | 2 | ||
3 | .PHONY: $(TESTS) | 3 | .PHONY: $(TESTS) |
4 | |||
5 | $(TESTS): | 4 | $(TESTS): |
6 | cd $@ && ./$@.sh 2>&1 | tee $@.log | 5 | cd $@ && ./$@.sh 2>&1 | tee $@.log |
7 | cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log | 6 | cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log |
8 | 7 | ||
8 | .PHONY: clean | ||
9 | clean: | 9 | clean: |
10 | for test in $(TESTS); do rm -f "$$test/$$test.log"; done | 10 | for test in $(TESTS); do rm -f "$$test/$$test.log"; done |
11 | 11 | ||
12 | .PHONY: distclean | ||
12 | distclean: clean | 13 | distclean: clean |
13 | rm -f Makefile | 14 | rm -f Makefile |