1
0
mirror of https://github.com/golang/go synced 2024-11-24 17:30:18 -07:00
go/test
Rob Pike c50e4f5e2f testing: allow benchmarks to print and fail
Refactors the benchmarks and test code.
Now benchmarks can call Errorf, Fail, etc.,
and the runner will act accordingly.

Because functionality has been folded into an
embedded type, a number of methods' docs
no longer appear in godoc output. A fix is
underway; if it doesn't happen fast enough,
I'll add wrapper methods to restore the
documentation.

R=bradfitz, adg, rsc
CC=golang-dev
https://golang.org/cl/5492060
2011-12-20 09:51:39 -08:00
..
bench various: use $GCFLAGS and $GCIMPORTS like Make does 2011-12-16 11:31:39 -05:00
bugs gc: 0 expected bugs 2011-12-09 14:58:28 -05:00
chan renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
dwarf test: clear execute bit from source file 2011-11-03 10:26:33 +09:00
fixedbugs testing: allow benchmarks to print and fail 2011-12-20 09:51:39 -08:00
interface gc: implement == on structs and arrays 2011-12-12 22:22:09 -05:00
ken renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
syntax gc: clean up if grammar 2011-09-12 15:52:29 -04:00
64bit.go
235.go
alias1.go test/alias.go: additional tests 2011-10-26 15:27:47 -07:00
alias.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
append.go runtime: append([]byte, string...) 2011-10-12 15:59:23 +02:00
args.go
assign1.go
assign.go allow copy of struct containing unexported fields 2011-11-15 12:20:59 -05:00
bigalg.go
bigmap.go
blank1.go
blank.go gc: fix another blank bug 2011-12-09 11:59:21 -05:00
chancap.go
char_lit1.go
char_lit.go
closedchan.go test: make closedchan.go exit with failure if something fails 2011-11-04 14:12:35 -07:00
closure.go gc: remove func, map compare 2011-11-13 22:58:08 -05:00
cmp6.go gc: implement == on structs and arrays 2011-12-12 22:22:09 -05:00
cmp.go gc: inlining, allow empty bodies, fix _ arguments. 2011-12-15 17:50:59 +01:00
cmplx.go
cmplxdivide1.go
cmplxdivide.c
cmplxdivide.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
complit1.go gc: remove type elision in struct literals 2011-12-05 14:22:41 -05:00
complit.go gc: remove type elision in struct literals 2011-12-05 14:22:41 -05:00
compos.go
const1.go
const2.go
const3.go
const.go
convert1.go allow direct conversion between string and named []byte, []rune 2011-11-22 12:30:02 -05:00
convert3.go
convert.go
convlit1.go
convlit.go allow direct conversion between string and named []byte, []rune 2011-11-22 12:30:02 -05:00
copy.go
crlf.go gc: implement and test \r in raw strings 2011-12-15 10:47:09 -05:00
ddd1.go gc: use inferred type rather than original one when reporting non-assignability. 2011-12-14 17:34:35 +01:00
ddd2.go
ddd3.go
ddd.go
decl.go
declbad.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
defer.go
deferprint.go
divide.go 6g, 8g: divide corner case 2011-07-28 14:18:22 -04:00
empty.go
env.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
eof1.go
eof.go
errchk errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
escape2.go gc: better loopdepth analysis for labels 2011-12-15 17:35:59 +01:00
escape3.go gc: zero stack-allocated slice backing arrays 2011-09-02 15:11:28 -04:00
escape.go
float_lit.go
floatcmp.go
for.go
func1.go
func2.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
func3.go
func4.go
func5.go
func6.go
func7.go
func.go
gc1.go
gc2.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
gc.go
golden.out gc: 0 expected bugs 2011-12-09 14:58:28 -05:00
goprint.go
goto.go test: match gccgo error messages for goto.go and bug344.go 2011-09-20 14:45:54 -07:00
hashmap.go build: clear execute bit from Go files 2011-09-05 07:48:42 -04:00
helloworld.go
if.go go: require { } around else block 2011-07-14 17:15:52 -04:00
import1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
import2.go
import3.go
import4.go
import.go test: error-related fixes 2011-10-27 19:41:39 -07:00
index.go
indirect1.go
indirect.go
init1.go runtime: run goroutines during init 2011-10-13 15:54:23 -04:00
init.go
initcomma.go
initialize.go
initializerr.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
initsyscall.go use new time API 2011-11-30 12:01:46 -05:00
int_lit.go
intcvt.go
iota.go
label1.go
label.go
literal.go
malloc1.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
mallocfin.go runtime: faster finalizers 2011-10-06 18:42:51 +03:00
mallocrand.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
mallocrep1.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
mallocrep.go runtime: faster finalizers 2011-10-06 18:42:51 +03:00
map1.go gc: implement == on structs and arrays 2011-12-12 22:22:09 -05:00
map.go
method1.go
method2.go test: match gccgo error messages 2011-09-21 17:25:48 -07:00
method3.go
method.go
named1.go gc: use inferred type rather than original one when reporting non-assignability. 2011-12-14 17:34:35 +01:00
named.go
nil.go gofix -r mapdelete 2011-10-18 09:56:34 -04:00
nilptr.go test: make array smaller in nilptr test 2011-12-07 15:00:44 -05:00
nul1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
parentype.go
peano.go
printbig.go
range.go cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: use rune 2011-10-25 22:20:02 -07:00
recover1.go
recover2.go gc: implement == on structs and arrays 2011-12-12 22:22:09 -05:00
recover3.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
recover.go
rename1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
rename.go
reorder.go gc: stricter multiple assignment + test 2011-10-13 15:46:39 -04:00
run build: pass $GCFLAGS to compiler 2011-10-18 14:55:10 -04:00
rune.go gc: rune is now an alias for int32 2011-12-09 00:12:07 -05:00
runtime.go
shift1.go test: match gccgo error messages 2011-09-21 17:25:48 -07:00
shift2.go
sieve.go
sigchld.go test: fix windows build 2011-09-27 09:13:00 -04:00
simassign.go
sinit.go gc: make static initialization more static 2011-08-31 07:37:14 -04:00
sizeof.go gc: unsafe.Alignof, unsafe.Offsetof, unsafe.Sizeof now return uintptr 2011-06-17 16:12:14 -04: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
string_lit.go cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: use rune 2011-10-25 22:20:02 -07:00
stringrange.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
struct0.go gc: fix zero-length struct eval 2011-09-05 15:31:22 -04:00
switch1.go
switch3.go gc: remove func, map compare 2011-11-13 22:58:08 -05:00
switch.go gc: remove func, map compare 2011-11-13 22:58:08 -05:00
test0.go
turing.go
typeswitch1.go
typeswitch2.go type switches: test for pathological case 2011-08-19 09:31:50 -07:00
typeswitch3.go gc: Better typechecks and errors in switches. 2011-11-09 10:58:53 +01:00
typeswitch.go gc: remove func, map compare 2011-11-13 22:58:08 -05:00
undef.go
utf.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
varerr.go
varinit.go
zerodivide.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00