]> Cypherpunks repositories - gostls13.git/commitdiff
another test error tweak
authorRuss Cox <rsc@golang.org>
Wed, 29 Jul 2009 22:30:54 +0000 (15:30 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 29 Jul 2009 22:30:54 +0000 (15:30 -0700)
5 known bugs; 0 unexpected bugs; test output differs

R=r
DELTA=3  (2 added, 0 deleted, 1 changed)
OCL=32468
CL=32470

test/run

index 839b4014c7b57b45ea8ae55ef68420c124c5e134..5dc98d75bad2e82baeaf87db86708ce31bc92460 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -77,14 +77,16 @@ case $failed in
        echo FAIL
 esac
 rm  -f $RUNFILE $TMP1FILE $TMP2FILE *.6 6.out
+diffmsg=""
 if ! diff run.out golden.out
 then
+       diffmsg="; test output differs"
        failed=1
 fi
 
 notinbugs=$(sed '/^== bugs/q' run.out | grep -c '^BUG')
 inbugs=$(sed '1,/^== bugs/d' run.out | grep -c '^BUG')
 
-echo 2>&1 $inbugs known bugs';' $notinbugs unexpected bugs
+echo 2>&1 $inbugs known bugs';' $notinbugs unexpected bugs$diffmsg
 
 exit $failed