]> Cypherpunks repositories - gostls13.git/commit
[dev.fuzz] cmd/go: in 'go test' don't allow multiple packages with -fuzz
authorJay Conrod <jayconrod@google.com>
Wed, 15 Sep 2021 22:30:18 +0000 (15:30 -0700)
committerJay Conrod <jayconrod@google.com>
Mon, 20 Sep 2021 18:42:32 +0000 (18:42 +0000)
commit51ca5706ab2074a624f8a2590a2a81e6a5821e48
tree6a6b86512ac545ef9c6b045c391c65dd32c071e4
parent24e25afff457839ddd78b802b42b8fceda0a6904
[dev.fuzz] cmd/go: in 'go test' don't allow multiple packages with -fuzz

Until we have a system for managing load across multiple fuzz targets
in multiple test executables, we'll only support fuzzing one target in
one package at a time. Users can still run multiple 'go test -fuzz'
commands concurrently, but this may overwhelm some systems unless
-parallel and -p are set carefully.

For #46312

Change-Id: If84c58d1b3e60498ce955eae5ad4d52100dbd4b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/350156
Trust: Jay Conrod <jayconrod@google.com>
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
src/cmd/go/internal/test/test.go
src/cmd/go/testdata/script/test_fuzz_match.txt
src/cmd/go/testdata/script/test_fuzz_multiple.txt [new file with mode: 0644]