summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..ed89598
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,21 @@
+check:
+ $(MAKE) -f scripts/makefile check
+
+.DEFAULT:
+ $(MAKE) -f scripts/makefile $<
+
+SOURCES != echo */source.mk
+DO != echo -n > tests.mk && rm -rf reports
+
+# basic tests that shouldn't cause the return code to be nonzero
+TESTS :=
+
+include $(SOURCES)
+
+DO != echo "$(TESTS)" | xargs ./scripts/gen-simple
+
+RM ?= rm
+
+.PHONY: clean
+clean:
+ $(RM) -rf reports