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

Closed
rsc opened this issue Sep 2, 2021 · 1 comment
Closed

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

rsc opened this issue Sep 2, 2021 · 1 comment
Labels
FrozenDueToAge fuzz Issues related to native fuzzing support NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Milestone

Comments

@rsc
Copy link
Contributor

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
PASS

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 NeedsFix The path to resolution is known, but the work has not been done. release-blocker labels Sep 2, 2021
@rsc rsc added this to the Go1.18 milestone Sep 2, 2021
@jayconrod jayconrod added the fuzz Issues related to native fuzzing support label Sep 9, 2021
@katiehockman katiehockman self-assigned this Sep 14, 2021
@gopherbot
Copy link

Change https://golang.org/cl/349969 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
Reviewed-on: https://go-review.googlesource.com/c/go/+/349969
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
@golang golang locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge fuzz Issues related to native fuzzing support NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Projects
Status: No status
Development

No branches or pull requests

4 participants