chiark / gitweb /
tests: Run in parallel
[subdirmk.git] / tests / tests.mk
diff --git a/tests/tests.mk b/tests/tests.mk
new file mode 100644 (file)
index 0000000..5ea0de9
--- /dev/null
@@ -0,0 +1,10 @@
+
+TESTS=$(wildcard tests/*/check)
+
+all: $(addsuffix .done, $(TESTS))
+
+.PHONY: tests/%/check.done all
+
+tests/%/check.done:
+       tests/$*/check >tests/$*/log 2>&1
+       @echo $* ok.