-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: go test -bench ./subpackage tests current package instead #23053
Comments
Can you show us how to recreate the problem? It works fine on my packages, and I can't |
Right, sorry. The error is somewhat misleading, that's a compile error I had in my local version of I've tested some more, it actually seems like |
@mrwonko I get a 404, for your repro repository https://github.com/mrwonko/goplayground, could you please provide a way of reproducing this? |
This is reproducible with any package containing a benchmark, e.g.
The output clearly states the incorrect package, I would have expected output
|
The
I'm going to go ahead and close this issue as it doesn't appear to be a bug. Let me know if I misinterpreted anything here. If you have questions about Go please se the resources here https://github.com/golang/go/wiki/Questions. |
What version of Go are you using (
go version
)?go version go1.9.2 darwin/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?What did you do?
go test -bench ./sortbenchmark/
What did you expect to see?
What did you see instead?
This happens regardless of the code inside the package.
The text was updated successfully, but these errors were encountered: