mirror of
https://github.com/golang/go
synced 2024-11-25 00:07:56 -07:00
another test error tweak
5 known bugs; 0 unexpected bugs; test output differs R=r DELTA=3 (2 added, 0 deleted, 1 changed) OCL=32468 CL=32470
This commit is contained in:
parent
1fc0960fb4
commit
3314f8c8e3
4
test/run
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user