-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
testing: no specific message if a benchmark is skipped #14799
Comments
Simplified repro: package benchskip
import "testing"
func TestSkip(t *testing.T) {
t.Skip("skipping")
}
func BenchmarkSkip(b *testing.B) {
b.Skip("skipping")
} And running it:
Three bugs:
@mpvl, you touched all this last. Can you take this? |
Yes, will do On Sunday, April 3, 2016, Brad Fitzpatrick notifications@github.com wrote:
|
The only recent bug of these three is the the doubling of output. An upcoming CL addresses all of these issues. |
CL https://golang.org/cl/21504 mentions this issue. |
Thank you! |
go version
)?1.6 linux/amd64
Skip a benchmark
*testing.B
It should display a message, like
*testing.T
This is from my project.
It skips tests and benchmark if there is no Redis server listening on the default port.
As you can see, there are "SKIP" messages if a test is skipped, but only the error message if a benchmark is skipped.
The text was updated successfully, but these errors were encountered: