cmd/go: do not compile test package if non-test can't build #44624
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
okay-after-beta1
Used by release team to mark a release-blocker issue as okay to resolve either before or after beta1
Milestone
I keep getting output like this from
go test
:It's just noise to print the same errors twice.
An easy way to fix this would be to make the test version of the package have the non-test version as a (not strictly necessary) dependency. Then if the build of the non-test version fails, the build of test version won't be attempted.
/cc @jayconrod @matloob
The text was updated successfully, but these errors were encountered: