From ddd2570f6091c0e8edf9274a311a6f468e8c025d Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Thu, 13 Mar 2014 17:40:16 +0100 Subject: tests: return error if failures file not usable In past this could happen when doing make distcheck. Signed-off-by: Ruediger Meier --- tests/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/run.sh') diff --git a/tests/run.sh b/tests/run.sh index decea3925..7b1e4b7c7 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -140,7 +140,7 @@ printf "%s\n" ${comps[*]} | xargs -I '{}' -P $paraller_jobs -n 1 bash -c "'{}' \"$OPTS\" || echo 1 >> $top_builddir/tests/failures" declare -a fail_file -fail_file=( $( < $top_builddir/tests/failures ) ) +fail_file=( $( < $top_builddir/tests/failures ) ) || exit 1 rm -f $top_builddir/tests/failures echo echo "---------------------------------------------------------------------" -- cgit v1.2.3-55-g7522