1
0
mirror of https://github.com/golang/go synced 2024-11-11 19:51:37 -07:00

test/run: diff old new

R=r, iant
CC=golang-dev
https://golang.org/cl/1907046
This commit is contained in:
Russ Cox 2010-08-03 13:01:28 -07:00
parent 7748a7f159
commit d4af41f5bb
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ done | # clean up some stack noise
rm -f $RUNFILE $TMP1FILE $TMP2FILE *.$A $A.out
diffmsg=""
if ! diff run.out golden.out
if ! diff golden.out run.out
then
diffmsg="; test output differs"
failed=1

View File

@ -84,7 +84,7 @@ done | # clean up some stack noise
failed=0
rm -f $RUNFILE $TMP1FILE $TMP2FILE *.$A $A.out
diffmsg=""
if ! diff -b run.out golden-arm.out
if ! diff -b golden-arm.out run.out
then
diffmsg="; test output differs"
failed=1