diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2010-08-15 17:06:13 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2010-08-15 17:34:47 -0700 |
commit | 852097ea00c6459625f4097df2337f72b43e1c7d (patch) | |
tree | eaa0a6f34c376a3da86b0ea299dd1dd46e452e01 | |
parent | 2be2fcd7e3b5c374183aed3acc7cfb859a5b1294 (diff) |
check.sh: Treat TET_EXIT_SKIP as success
TET_EXIT_SKIP is considered higher priority than TET_EXIT_SUCCESS in tcc, but
only TET_EXIT_FAILURE really counts as a failure return code. _SKIP just means
that some of the assertions couldn't be reliably tested.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | check.sh.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/check.sh.in b/check.sh.in index 441d48b7..8d8606c8 100644 --- a/check.sh.in +++ b/check.sh.in @@ -39,4 +39,10 @@ if [ ! -f "$config" ]; then fi fi -exec "$SHELL" "$XTS_RUN" -c "$config" -o results "$@" +"$SHELL" "$XTS_RUN" -c "$config" -o results "$@" +case $? in + # Treat TET_EXIT_SUCCESS and TET_EXIT_SKIP as success. SKIP just means that + # not all of the tests could be run. + 0|77) exit 0;; + *) exit 1;; +esac |