summaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..0595d2e
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,10 @@
+TESTS=$(wildcard *.test)
+
+all: $(patsubst %,_test_%,$(TESTS))
+
+.PHONY: $(patsubst %,_test_%,$(TESTS))
+$(patsubst %,_test_%,$(TESTS)):
+ @test=$(patsubst _test_%,%,$@); \
+ echo "[$$test]" ; \
+ export QUILTRC=test.quiltrc ; \
+ ./run $$test