From 593c49c00fb3e8c73ce369bda4db3cdda8fdc706 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Wed, 29 Jul 2026 23:13:38 +0300 Subject: add simple test framework --- tests/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/Makefile (limited to 'tests/Makefile') 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 -- cgit v1.3