]> Cypherpunks repositories - gostls13.git/commit
test: expand run.go's errorcheck, make clear which bugs run
authorRuss Cox <rsc@golang.org>
Sun, 23 Sep 2012 17:16:14 +0000 (13:16 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 23 Sep 2012 17:16:14 +0000 (13:16 -0400)
commitcd22afa07b83d56e0563d0ca4343e5c1a20c3e82
tree57ee98aee80abd3e977a821482be901db90c60d1
parent36df358a309a7a95438c701ec5687bf4f22d0b28
test: expand run.go's errorcheck, make clear which bugs run

Today, if run.go doesn't understand a test header line it just ignores
the test, making it too easy to write or edit tests that are not actually
being run.

- expand errorcheck to accept flags, so that bounds.go and escape*.go can run.
- create a whitelist of skippable tests in run.go; skipping others is an error.
- mark all skipped tests at top of file.

Update #4139.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6549054
41 files changed:
test/args.go
test/bounds.go
test/bugs/bug395.go
test/bugs/bug434.go
test/ddd3.go
test/dwarf/main.go
test/escape2.go
test/escape4.go
test/fixedbugs/bug083.go
test/fixedbugs/bug133.go
test/fixedbugs/bug160.go
test/fixedbugs/bug191.go
test/fixedbugs/bug248.go
test/fixedbugs/bug302.go
test/fixedbugs/bug313.go
test/fixedbugs/bug322.go
test/fixedbugs/bug324.go
test/fixedbugs/bug345.go
test/fixedbugs/bug367.go
test/fixedbugs/bug369.go
test/fixedbugs/bug382.go
test/fixedbugs/bug385_32.go
test/fixedbugs/bug385_64.go
test/fixedbugs/bug414.go
test/fixedbugs/bug424.go
test/fixedbugs/bug429.go
test/fixedbugs/bug437.go
test/import3.go
test/import4.go
test/index.go
test/interface/embed1.go
test/interface/private.go
test/interface/recursive2.go
test/linkx.go
test/method4.go
test/nul1.go
test/rotate.go
test/run.go
test/sigchld.go
test/sinit.go
test/testlib