summaryrefslogtreecommitdiff
path: root/tests/scripts/makefile
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2026-07-29 23:13:38 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2026-07-29 23:23:54 +0300
commit593c49c00fb3e8c73ce369bda4db3cdda8fdc706 (patch)
treeca3b612109e990b839bd5ce90444ed9a253e8e79 /tests/scripts/makefile
parentbef57b702ce808a3419f6b52beb10f7dce6906a3 (diff)
downloadlark-593c49c00fb3e8c73ce369bda4db3cdda8fdc706.tar.gz
lark-593c49c00fb3e8c73ce369bda4db3cdda8fdc706.zip
add simple test framework
Diffstat (limited to 'tests/scripts/makefile')
-rw-r--r--tests/scripts/makefile16
1 files changed, 16 insertions, 0 deletions
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."