commit | 51567b56cf64ad3878a4cb0b50668c7d8e02a5b4 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Wed Mar 24 16:14:59 2021 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Wed Mar 24 16:14:59 2021 +0000 |
tree | 8c2a4370b72a3586c710927da528b5c6fffb3632 | |
parent | dbd18a7668a31440c263329919f2ad6e0617b122 [diff] |
Fix run_test.sh failure logic The script looks for PASS/SKIP/FAIL in the output and if found, it returns the error code it got from QEMU. But a failing test still returns zero because the emulation was sucessful. Split grepping for PASS/SKIP and FAIL, and force a non-zero return code for the latter. Test: make failing-test Change-Id: I62ba1ab522a9544024882e276161905f7cf84c1f