Commit d4af41f5 authored by Russ Cox's avatar Russ Cox

test/run: diff old new

R=r, iant
CC=golang-dev
https://golang.org/cl/1907046
parent 7748a7f1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment