go/src/testing
Russ Cox 94d7c884c3 testing: do not crash when m.Run is called twice and -test.testlogfile is used
Tests exist that call m.Run in a loop‽
Now we have one too.

Fixes #23129.

Change-Id: I8cbecb724f239ae14ad45d75e67d12c80e41c994
Reviewed-on: https://go-review.googlesource.com/83956
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-12-14 14:57:01 +00:00
..
internal/testdeps testing: do not crash when m.Run is called twice and -test.testlogfile is used 2017-12-14 14:57:01 +00:00
iotest testing/iotest: fix NewReadLogger documentation typo 2017-10-19 15:59:21 +00:00
quick doc: mention testing/quick RNG seeding change in Go 1.9 notes 2017-06-27 22:41:49 +00:00
allocs.go all: single space after period. 2016-03-02 00:13:47 +00:00
allocs_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
benchmark.go testing: remove claim that b.Run is safe for concurrent use 2017-12-01 00:24:53 +00:00
benchmark_test.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
cover.go testing: read coverage counters atomically 2014-09-09 12:31:07 -07:00
example.go testing: use time.Since instead of time.Now().Sub 2017-09-06 19:47:37 +00:00
export_test.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
helper_test.go testing: add TB.Helper to better support test helpers 2017-04-14 16:47:25 +00:00
helperfuncs_test.go testing: add TB.Helper to better support test helpers 2017-04-14 16:47:25 +00:00
match.go testing: harmonize handling of prefix-matched benchmarks 2017-06-20 14:19:05 +00:00
match_test.go testing: harmonize handling of prefix-matched benchmarks 2017-06-20 14:19:05 +00:00
sub_test.go testing: always ReadMemStats before first benchmark run 2017-06-28 20:47:26 +00:00
testing.go testing: do not crash when m.Run is called twice and -test.testlogfile is used 2017-12-14 14:57:01 +00:00
testing_test.go Revert "testing: add T.Context method" 2016-12-09 04:04:11 +00:00