From: Christian Herdtweck Date: Wed, 15 Sep 2021 08:04:25 +0000 (+0200) Subject: Do not re-run tests if they failed already X-Git-Tag: v1.6.7~8 X-Git-Url: http://developer.intra2net.com/git/?p=pyi2ncommon;a=commitdiff_plain;h=0359bfe2b331c534757558d087f39fd1ef6bee04 Do not re-run tests if they failed already --- 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