From: helly Date: Sun, 19 Feb 2006 20:15:57 +0000 (+0000) Subject: - Switch back to 'diff -u' X-Git-Tag: 0.13.6~450 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb7fb23f449246076ba2d45e3c030e14703b07c5;p=re2c - Switch back to 'diff -u' # diffutils from www.sunfreeware.com makes it work under slowaris too --- diff --git a/run_tests.sh.in b/run_tests.sh.in index 78ac7923..19011484 100644 --- a/run_tests.sh.in +++ b/run_tests.sh.in @@ -12,7 +12,7 @@ for x in @top_srcdir@/test/*.re; do difname=@builddir@/test/`basename ${x%.re}.diff` @builddir@/re2c $switches $x 2>&1 | sed -e "s,$x,`basename $x`,g" -e "s,/\* Generated by re2c .*\*/,/\* Generated by re2c \*/,g" > $outname # if diff -u -I '#line [0-9]*' ${x%.re}.c $outname > $difname; then - if diff ${x%.re}.c $outname > $difname; then + if diff -u ${x%.re}.c $outname > $difname; then echo "Passed." rm $outname else