diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-26 18:34:24 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-26 18:34:24 +0300 |
| commit | eff7f52c368df5dc662d54956de5aa3b2b9ee936 (patch) | |
| tree | f3ba4e898e3aea5377e0227442044c9bf296d45f /tests/scripts/gen-simple | |
| parent | a9d61501eb0200576bb08ba4b287f66177253ad9 (diff) | |
| download | kmi-eff7f52c368df5dc662d54956de5aa3b2b9ee936.tar.gz kmi-eff7f52c368df5dc662d54956de5aa3b2b9ee936.zip | |
simplify tests
Diffstat (limited to 'tests/scripts/gen-simple')
| -rwxr-xr-x | tests/scripts/gen-simple | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/scripts/gen-simple b/tests/scripts/gen-simple index ddec9a4..418cc02 100755 --- a/tests/scripts/gen-simple +++ b/tests/scripts/gen-simple @@ -26,6 +26,10 @@ echo " rm -f reports/$NAME/*" >> tests.mk echo " timeout --foreground 30s \$(QEMU) \ build/$NAME/initrd > reports/$NAME/log" >> tests.mk -echo "TESTS += $NAME" >> tests.mk -echo ".PHONY: do-$NAME" >> tests.mk -echo "do-$NAME: reports/$NAME/log" >> tests.mk +echo "TESTS += $NAME" >> tests.mk +echo ".PHONY: $NAME" >> tests.mk +echo "$NAME: reports/$NAME/log" >> tests.mk +echo " grep 'BUG' reports/$NAME/log \\" >> tests.mk +echo " && echo 'BUG' > reports/$NAME/log \\" >> tests.mk +echo " || tail -n1 reports/$NAME/log | tr -d '\\\\r' \\" >> tests.mk +echo " > reports/$NAME/OK" >> tests.mk |
