From 0359bfe2b331c534757558d087f39fd1ef6bee04 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Wed, 15 Sep 2021 10:04:25 +0200 Subject: [PATCH] Do not re-run tests if they failed already --- run_unittests.sh | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/run_unittests.sh b/run_unittests.sh index bca28f7..7424d6c 100755 --- a/run_unittests.sh +++ b/run_unittests.sh @@ -30,6 +30,9 @@ esac # run unittests in regular environment $cmd +if [[ $? != 0 ]]; then + exit 1; +fi # re-run with minimal local to capture errors caused by stdout being bytes LANG=C $cmd -- 1.7.1