diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-04-22 21:09:09 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-04-22 21:09:09 +0300 |
| commit | 9d735045e0b73b46443f9dacd1b42f5ac3e734de (patch) | |
| tree | aab90f47777ba3f8fb7b7760c4457426d7cf62a2 /tests/scripts/makefile | |
| parent | 96eca4b42f1efc4fbb663dd6994a43fcdf26bf5d (diff) | |
| download | kmi-9d735045e0b73b46443f9dacd1b42f5ac3e734de.tar.gz kmi-9d735045e0b73b46443f9dacd1b42f5ac3e734de.zip | |
simplify generator scripts
Diffstat (limited to 'tests/scripts/makefile')
| -rw-r--r-- | tests/scripts/makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/scripts/makefile b/tests/scripts/makefile index 63150b1..2161427 100644 --- a/tests/scripts/makefile +++ b/tests/scripts/makefile @@ -40,11 +40,12 @@ 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 \ + @cd reports; for d in * ; do \ + if [ ! -f "$$d/log" ]; then \ + echo "BROKEN: $$d" ; \ + elif grep 'BUG|ERR' $$d/log \ + || [ "$$(tail -n1 $$d/log | tr -d '\r')" != "OK" ]; then \ + echo "FAIL: $$d" ; \ + fi \ done @echo "Done." |
