cmd/go: go test
trips over "commented" build tags, when go build
does not.
#31938
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?1.12.4
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run
go test ./...
on a project which contained a package with a single.go
-file where the first line was the following:What did you expect to see?
The same behaviour as
go build
, which is to ignore the build tag.What did you see instead?
Return code 2 without any sort of error message.
The text was updated successfully, but these errors were encountered: