From: helly Date: Tue, 27 Dec 2005 23:45:26 +0000 (+0000) Subject: - Dump errors into temp results of tests X-Git-Tag: 0.13.6~579 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc0f45416cd48eb1b0fab815062d28e77d93b1f0;p=re2c - Dump errors into temp results of tests --- diff --git a/run_tests.sh.in b/run_tests.sh.in index f2a0898b..b981f478 100644 --- a/run_tests.sh.in +++ b/run_tests.sh.in @@ -5,7 +5,7 @@ for x in @top_srcdir@/test/*.re; do echo $x # don't use the -o flag, since it makes it harder to diff. outname=@builddir@/test/`basename ${x%.re}.temp` - @builddir@/re2c $x | sed -e "s,$x,`basename $x`,g" -e "s,/\* Generated by re2c .*\*/,/\* Generated by re2c \*/,g" > $outname + @builddir@/re2c $x 2>&1 | sed -e "s,$x,`basename $x`,g" -e "s,/\* Generated by re2c .*\*/,/\* Generated by re2c \*/,g" > $outname if cmp -s ${x%.re}.c $outname; then echo "Passed." rm $outname