1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:07:57 -07:00
go/test
Ian Lance Taylor 292bd04a43 test: change bug040 to use errorcheck
Because bug040.go was ignoring all error messages, the fact
that it got an error about fuction main was being ignored.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5675085
2012-02-17 20:35:40 -08:00
..
bench test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
bugs gc: undo most of 'fix infinite recursion for embedded interfaces' 2012-01-20 17:14:09 -05:00
chan test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
dwarf test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
fixedbugs test: change bug040 to use errorcheck 2012-02-17 20:35:40 -08:00
interface test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
ken test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
safe cmd/gc: suspend safemode during typecheck of inlined bodies. 2012-02-10 22:50:55 +01:00
syntax test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
64bit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
235.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
alias1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
alias.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
append.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
args.go
assign1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
assign.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
bigalg.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
bigmap.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
blank1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
blank.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
chancap.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
char_lit1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
char_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
closedchan.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
closure.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
cmp6.go cmd/gc: fix comparison of struct with _ field 2012-02-17 14:45:29 -05:00
cmp.go cmd/gc: fix comparison of struct with _ field 2012-02-17 14:45:29 -05:00
cmplx.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
cmplxdivide1.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
cmplxdivide.c delete float, complex - code changes 2011-01-19 23:09:00 -05:00
cmplxdivide.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
complit1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
complit.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
compos.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
const1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
const2.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
const3.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
const.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convert1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convert3.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convert.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convlit1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convlit.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
copy.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
crlf.go gc: implement and test \r in raw strings 2011-12-15 10:47:09 -05:00
ddd1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
ddd2.go
ddd3.go
ddd.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
decl.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
declbad.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
defer.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
deferprint.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
deferprint.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
divide.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
empty.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
env.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
eof1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
eof.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
errchk errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
escape2.go gc: avoid false positives when using scalar struct fields. 2012-01-12 12:08:40 +01:00
escape3.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
escape.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
float_lit.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
floatcmp.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
for.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func2.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
func3.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func4.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func5.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func6.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func7.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func8.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
gc1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
gc2.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
gc.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
golden.out cmd/gc: suspend safemode during typecheck of inlined bodies. 2012-02-10 22:50:55 +01:00
goprint.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
goprint.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
goto.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
hashmap.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
helloworld.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
helloworld.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
if.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
import1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
import2.go
import3.go
import4.go
import5.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
import.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
index.go test: fix NaCl build 2010-09-19 23:28:32 -04:00
indirect1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
indirect.go
init1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
init.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
initcomma.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
initialize.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
initializerr.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
initsyscall.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
int_lit.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
intcvt.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
iota.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
label1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
label.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
linkx.go 5l, 6l, 8l: implement -X flag 2012-02-07 16:46:33 -05:00
literal.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
malloc1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
mallocfin.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
mallocrand.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
mallocrep1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
mallocrep.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
map1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
map.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
method1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
method2.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
method3.go
method4.go test: test method expressions with parameters, and with import 2012-02-03 16:38:59 -08:00
method4a.go test: test method expressions with parameters, and with import 2012-02-03 16:38:59 -08:00
method.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
named1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
named.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
nil.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
nilptr.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
nul1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
parentype.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
peano.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
printbig.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
printbig.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
range.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
recover1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
recover2.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
recover3.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
recover.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
rename1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
rename.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
reorder2.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
reorder.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
run test: add testlib 2012-02-16 23:48:24 -05:00
rune.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
runtime.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
shift1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
shift2.go gc: implement new shift rules 2011-05-31 15:05:40 -04:00
sieve.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
sigchld.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
sigchld.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
simassign.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
sinit.go gc: make static initialization more static 2011-08-31 07:37:14 -04:00
sizeof.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
solitaire.go cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: use rune 2011-10-25 22:20:02 -07:00
stack.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
string_lit.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
stringrange.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
struct0.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
switch1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
switch3.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
switch.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
test0.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
testlib test: add testlib 2012-02-16 23:48:24 -05:00
turing.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
typeswitch1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
typeswitch2.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
typeswitch3.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
typeswitch.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
undef.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
utf.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
varerr.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
varinit.go
zerodivide.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00