-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: running go build ./...
returns an exit code of 0 even if there are compile errors
#11407
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
Comments
go build ./...
returns an exit code of 0 even if there are compile errorsgo build ./...
returns an exit code of 0 even if there are compile errors
go build ./... was not returning an error status code on compile failure: golang/go#11407 Check the output since go build has no output when successul.
go build ./... returns an exit status code of 0 even on failure: golang/go#11407 Check the output since go build has no output when successul.
Running |
CL https://golang.org/cl/17971 mentions this issue. |
what aboult |
@xjewer this issue is closed, please try go 1.7beta1 and open a new issue if necessary. |
my bad, |
version:
go version go1.4 darwin/amd64
operating system: OSX 10.10.2
Running
go build ./...
returns an exit code of 0 even if there are compile errors. For example, runninggo build ./...
in a directory containing a single file that contains parse errors:This does not, however, happen when simply running
go build .
:The text was updated successfully, but these errors were encountered: