From: Magnus Jacobsson Date: Fri, 3 Apr 2020 09:18:56 +0000 (+0200) Subject: Set rtest exit status to total number of errors X-Git-Tag: 2.44.1~19^2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d87aa7cc56fa1703ffcb744d6cd0f5d9350483af;p=graphviz Set rtest exit status to total number of errors --- diff --git a/rtest/rtest.sh b/rtest/rtest.sh index bfe78ca62..184c2f30d 100755 --- a/rtest/rtest.sh +++ b/rtest/rtest.sh @@ -431,3 +431,5 @@ print -u 2 "No. tests: $TOT_CNT Layout failures: $CRASH_CNT" else print -u 2 "No. tests: $TOT_CNT Layout failures: $CRASH_CNT Changes: $DIFF_CNT" fi +(( EXIT_STATUS=CRASH_CNT+DIFF_CNT )) +exit $EXIT_STATUS