1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:14:40 -07:00
go/test
Rob Pike fc0dc04095 test: [a-c]: add introductory comments to tests
Very few of the compiler regression tests include a comment
saying waht they do. Many are obvious, some are anything but.
I've started with a-c in the top directory. More will follow once
we agree on the approach, correctness, and thoroughness here.
zerodivide.go sneaked in too.

R=rsc, r
CC=golang-dev
https://golang.org/cl/5656100
2012-02-19 13:19:43 +11:00
..
bench test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
bugs
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 gc: drop ideal bool 2012-02-18 21:07:08 -05:00
interface test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
ken test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
safe
syntax test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
64bit.go
235.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
alias1.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
alias.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
append.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
args.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
assign1.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
assign.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
bigalg.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
bigmap.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
blank1.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
blank.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
chancap.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
char_lit1.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
char_lit.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
closedchan.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
closure.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
cmp6.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
cmp.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
cmplx.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
cmplxdivide1.go
cmplxdivide.c
cmplxdivide.go
complit1.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
complit.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
compos.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
const1.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
const2.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
const3.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
const.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
convert1.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
convert3.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
convert.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
convlit1.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
convlit.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
copy.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00
crlf.go
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
deferprint.out
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
escape2.go
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
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
goprint.go
goprint.out
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
helloworld.out
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
indirect1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
indirect.go test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
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
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 test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
method4.go
method4a.go
method.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
named1.go gc: drop ideal bool 2012-02-18 21:07:08 -05:00
named.go gc: drop ideal bool 2012-02-18 21:07:08 -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
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
printbig.out
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/run: honor $TMPDIR 2012-02-18 16:15:12 -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 test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
sieve.go
sigchld.go
sigchld.out
simassign.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
sinit.go
sizeof.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
solitaire.go
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
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 test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
zerodivide.go test: [a-c]: add introductory comments to tests 2012-02-19 13:19:43 +11:00