diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-05-01 18:37:38 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-05-01 18:42:08 +0300 |
| commit | 7790e27b3423901e2080bfd3c600a65a48d42886 (patch) | |
| tree | e53f3d2b01fd24ade5eff042cb5d09bd1865c540 /tests/scripts/makefile | |
| parent | dbf8737fd34a0766691999e3271e9c5662ffae0d (diff) | |
| download | fwd-7790e27b3423901e2080bfd3c600a65a48d42886.tar.gz fwd-7790e27b3423901e2080bfd3c600a65a48d42886.zip | |
start adding proper tests
Diffstat (limited to 'tests/scripts/makefile')
| -rw-r--r-- | tests/scripts/makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/scripts/makefile b/tests/scripts/makefile new file mode 100644 index 0000000..21b1418 --- /dev/null +++ b/tests/scripts/makefile @@ -0,0 +1,19 @@ +.PHONY: all +all: check + +COMPILE_TEST := $(CC) -L../mod -I../include -I../lib -Wl,-rpath=../mod -O2 +TEST_LIBS := -lfwdio -lfwdmem -lfwdutil + +TESTS := +include tests.mk + +.PHONY: check +check: $(TESTS) + @cd reports; for d in * ; do \ + if [ ! -f "$$d/OK" ]; then \ + echo "BROKEN: $$d" ; \ + elif [ "$$(tail -n1 $$d/OK)" != "OK" ]; then \ + echo "FAIL: $$d" ; \ + fi \ + done + @echo "Done." |
