diff options
author | Marvin Borner | 2020-10-24 14:59:58 +0200 |
---|---|---|
committer | Marvin Borner | 2020-10-24 14:59:58 +0200 |
commit | b84441b58e68a07c5c6064374539f68e3520611e (patch) | |
tree | ccb57ba50a7a254c691a65054a9a79848204b750 /run | |
parent | 89da1c61f55ee776669240b95f60b97ff339c901 (diff) |
Woopsie
Diffstat (limited to 'run')
-rwxr-xr-x | run | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -179,7 +179,8 @@ make_test() { fi if [ "$mode" = "test" ]; then - qemu_with_flags -serial file:test.log -nographic -drive file=build/disk.img,format=raw,index=1,media=disk & + qemu_with_flags -serial file:test.log -nographic -drive file=build/disk.img,format=raw,index=1,media=disk + echo grep -E 'PASS|FAIL' test.log if grep -q "All tests passed" test.log; then exit 0; else exit 1; fi else |