aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 000000000..2f3a97d73
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,13 @@
1TESTS=$(patsubst %/,%,$(wildcard */))
2
3.PHONY: $(TESTS)
4$(TESTS):
5 cd $@ && ./$@.sh 2>&1 | tee $@.log
6 cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log
7
8.PHONY: clean
9clean:
10 for test in $(TESTS); do rm -f "$$test/$$test.log"; done
11
12.PHONY: distclean
13distclean: clean