]> granicus.if.org Git - re2c/commitdiff
- Switch back to 'diff -u'
authorhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Sun, 19 Feb 2006 20:15:57 +0000 (20:15 +0000)
committerhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Sun, 19 Feb 2006 20:15:57 +0000 (20:15 +0000)
# diffutils from www.sunfreeware.com makes it work under slowaris too

run_tests.sh.in

index 78ac7923eba4820ca0d3acd88258e9b45409bd74..1901148468da09611bced1bbf14856b65e6fdd44 100644 (file)
@@ -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