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 -race" with race condition detected should exit with exit code 1 #12129
Comments
I can't reproduce this on
Now running
and the exit value is
|
This might deserve inclusion in the next point release of 1.4: see discussion on golang-nuts. |
@zellyn We don't make new point releases for test failures. The general rule is that we only make a point release for a critical problem with no workaround. We're very unlikely to make another point release of 1.4 in any case. |
@ianlancetaylor Ah, okay - for us, moving to 1.5 will fix this problem anyway. Thanks! |
That's the best answer, 1.4 won't be getting any more updates. On Fri, 6 Nov 2015, 01:37 Zellyn Hunter notifications@github.com wrote:
|
Hi,
I'm running the following command
When there's a race condition detected, the exit code for
go test
should be 1 not 0.I've replicated this with go 1.4, go 1.4.2 and go 1.5 rc1
I've forgot to add that I'm using gocheck for helping with tests. Not sure if it's interfering or not.
The text was updated successfully, but these errors were encountered: