Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: adjust -fuzz multiple match error #48131

rsc opened this issue Sep 2, 2021 · 1 comment

cmd/go: adjust -fuzz multiple match error #48131

rsc opened this issue Sep 2, 2021 · 1 comment


Copy link

@rsc rsc commented Sep 2, 2021

% gotip test -run=XXX -fuzz=Fuzz
testing: warning: -fuzz matches more than one target, won't fuzz
testing: warning: no targets to fuzz

The first line should be an error.
It should also print the full list of fuzz targets that matched,
so that the user can see the problem more clearly.

The second line should not be printed.

The third line should be FAIL.

/cc @jayconrod @katiehockman

@rsc rsc added this to the Go1.18 milestone Sep 2, 2021
@jayconrod jayconrod added the fuzz label Sep 9, 2021
@katiehockman katiehockman self-assigned this Sep 14, 2021
Copy link

@gopherbot gopherbot commented Sep 14, 2021

Change mentions this issue: [dev.fuzz] testing: adjust -fuzz multiple match stdout

gopherbot pushed a commit that referenced this issue Sep 15, 2021
Fixes #48131

Change-Id: I40ff130c849dffe38363ddc0282e93ceb74ae140
Trust: Katie Hockman <>
Run-TryBot: Katie Hockman <>
TryBot-Result: Go Bot <>
Reviewed-by: Jay Conrod <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants