summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 9aa46b4eb6..987a32548f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,7 +1,20 @@
# Just a little hook script to easy building when in this directory
+.PHONY: all check clean
all:
$(MAKE) -C ..
clean:
- $(MAKE) -C .. clean
+ @for i in TEST-[0-9]*; do \
+ [ -d $$i ] || continue ; \
+ [ -f $$i/Makefile ] || continue ; \
+ make -C $$i clean ; \
+ done
+
+check:
+ $(MAKE) -C .. all
+ @for i in TEST-[0-9]*; do \
+ [ -d $$i ] || continue ; \
+ [ -f $$i/Makefile ] || continue ; \
+ make -C $$i all ; \
+ done