diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-04-30 14:50:20 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-30 14:50:20 -0600 |
commit | 49d2017b3df8d5a98fd3b5293fcfe36c747bd1bd (patch) | |
tree | 12308bf621d37464af8c3001e15257c24bc54acc | |
parent | 6cd873cec62a9f97923f21434fbb458151900849 (diff) |
test/runtests.sh: list all failed tests when done
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rwxr-xr-x | test/runtests.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/runtests.sh b/test/runtests.sh index 50cc0d0..8307eac 100755 --- a/test/runtests.sh +++ b/test/runtests.sh @@ -4,6 +4,7 @@ TESTS="$@" RET=0 TIMEOUT=10 +FAILED="" for t in $TESTS; do echo Running test $t @@ -13,8 +14,13 @@ for t in $TESTS; do echo "Test $t timed out (may not be a failure)" elif [ "${r}" -ne 0 ]; then echo Test $t failed + FAILED="$FAILED $t" RET=1 fi done +if [ "${RET}" -ne 0 ]; then + echo "Tests $FAILED failed" +fi + exit $RET |