From: helly Date: Sat, 16 Apr 2005 14:16:40 +0000 (+0000) Subject: - Run all tests even if one fails (still exit 1 on failure) X-Git-Tag: 0.13.6~657 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec41962226b1f615194f12dfb02ba185cc0bc85a;p=re2c - Run all tests even if one fails (still exit 1 on failure) --- diff --git a/run_tests.sh.in b/run_tests.sh.in index a1166c81..ed12742f 100644 --- a/run_tests.sh.in +++ b/run_tests.sh.in @@ -1,5 +1,6 @@ #!/bin/sh mkdir @builddir@/test +result=0 for x in @top_srcdir@/test/*.re; do echo $x # don't use the -o flag, since it makes it harder to diff. @@ -10,7 +11,7 @@ for x in @top_srcdir@/test/*.re; do rm $outname else echo "Failed: ${x%.re}.c ${x%.re}.temp differ." - exit 1 + result=1 fi done - +exit $result