mirror of
https://github.com/golang/go
synced 2024-11-22 05:34:39 -07:00
update golden.out.
fix bug in run that was missing output. make run warn about tests in bugs/ that succeed with no output (should be moved to fixedbugs/). R=r DELTA=21 (18 added, 0 deleted, 3 changed) OCL=19381 CL=19381
This commit is contained in:
parent
079c00a475
commit
869c3f4cd0
@ -135,6 +135,21 @@ bugs/bug117.go:10: illegal types for operand: RETURN
|
|||||||
int
|
int
|
||||||
BUG: should compile
|
BUG: should compile
|
||||||
|
|
||||||
|
=========== bugs/bug119.go
|
||||||
|
3 74256
|
||||||
|
|
||||||
|
panic on line 85 PC=xxx
|
||||||
|
BUG: should not fail
|
||||||
|
|
||||||
|
=========== bugs/bug120.go
|
||||||
|
Bad float64 const: 456.7 want 456.7 got 456.70000000000005
|
||||||
|
Bad float64 const: 100000000000000008388608 want 1.0000000000000001e+23 got 2.0037642052907827e+17
|
||||||
|
Bad float64 const: 1e23+8.388608e6 want 1.0000000000000001e+23 got 1e+23
|
||||||
|
bug120
|
||||||
|
|
||||||
|
panic on line 139 PC=xxx
|
||||||
|
BUG: bug120
|
||||||
|
|
||||||
=========== fixedbugs/bug016.go
|
=========== fixedbugs/bug016.go
|
||||||
fixedbugs/bug016.go:7: overflow converting constant to uint
|
fixedbugs/bug016.go:7: overflow converting constant to uint
|
||||||
|
|
||||||
|
5
test/run
5
test/run
@ -44,12 +44,15 @@ do
|
|||||||
cat $TMP1FILE
|
cat $TMP1FILE
|
||||||
cat $TMP2FILE
|
cat $TMP2FILE
|
||||||
echo >&2 fail: $i
|
echo >&2 fail: $i
|
||||||
elif test -s $TMP1FILE
|
elif test -s $TMP1FILE || test -s $TMP2FILE
|
||||||
then
|
then
|
||||||
echo
|
echo
|
||||||
echo "===========" $i
|
echo "===========" $i
|
||||||
cat $TMP1FILE
|
cat $TMP1FILE
|
||||||
cat $TMP2FILE
|
cat $TMP2FILE
|
||||||
|
elif [ $dir = "bugs" ]
|
||||||
|
then
|
||||||
|
echo $i succeeded with no output.
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done | # clean up some stack noise
|
done | # clean up some stack noise
|
||||||
|
Loading…
Reference in New Issue
Block a user