mirror of
https://github.com/golang/go
synced 2024-11-17 02:04:48 -07:00
1f411e9b6d
Only snapshot/reset coverage counters when we are actually fuzzing. This prevents a race when running corpus/seed values during the testing phase. Fixes #50488 Change-Id: I7dd5a0353a296c0b13eede29ad9af7c78814fa2d Reviewed-on: https://go-review.googlesource.com/c/go/+/376554 Trust: Katie Hockman <katie@golang.org> Reviewed-by: Katie Hockman <katie@golang.org> Trust: Roland Shoemaker <roland@golang.org> Run-TryBot: Roland Shoemaker <roland@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
---|---|---|
.. | ||
fstest | ||
internal/testdeps | ||
iotest | ||
quick | ||
allocs_test.go | ||
allocs.go | ||
benchmark_test.go | ||
benchmark.go | ||
cover.go | ||
example.go | ||
export_test.go | ||
fuzz.go | ||
helper_test.go | ||
helperfuncs_test.go | ||
match_test.go | ||
match.go | ||
panic_test.go | ||
run_example_js.go | ||
run_example.go | ||
sub_test.go | ||
testing_other.go | ||
testing_test.go | ||
testing_windows.go | ||
testing.go |