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:
parent
7748a7f159
commit
d4af41f5bb
2
test/run
2
test/run
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user