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: