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/scripts/makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/scripts/makefile (limited to 'tests/scripts/makefile') diff --git a/tests/scripts/makefile b/tests/scripts/makefile new file mode 100644 index 0000000..6354488 --- /dev/null +++ b/tests/scripts/makefile @@ -0,0 +1,16 @@ +.PHONY: all +all: check + +TESTS := +include tests.mk + +.PHONY: check +check: $(TESTS) + @cd reports; for d in $(TESTS) ; do \ + if [ ! -f "$$d/OK" ]; then \ + echo "BROKEN: $$d" ; \ + elif [ "$$(tail -n1 $$d/OK)" != "OK" ]; then \ + echo "FAIL: $$d" ; \ + fi \ + done + @echo "Done." -- cgit v1.3