diff options
Diffstat (limited to 'tests/scripts/gen-tests')
| -rwxr-xr-x | tests/scripts/gen-tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scripts/gen-tests b/tests/scripts/gen-tests index 7095e30..3be204d 100755 --- a/tests/scripts/gen-tests +++ b/tests/scripts/gen-tests @@ -18,8 +18,8 @@ for NAME in "${@}"; do build/$NAME/initrd > reports/$NAME/log" >> tests.mk echo "reports/$NAME/OK: reports/$NAME/log" >> tests.mk - echo " grep 'BUG' reports/$NAME/log \\" >> tests.mk - echo " && echo 'BUG' > reports/$NAME/log \\" >> tests.mk + echo " grep 'BUG|ERROR' reports/$NAME/log \\" >> tests.mk + echo " && echo 'NOTOK' > reports/$NAME/log \\" >> tests.mk echo " || tail -n1 reports/$NAME/log | tr -d '\\\\r' \\" >> tests.mk echo " > reports/$NAME/OK" >> tests.mk |
