cmd/go: don't make "build constraints exclude all Go files" a fatal error for go test #43424
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I would like to run all the tests for a module I'm working on. Usually I would do that with
go test ./..
. Unfortunately, one of the packages is windows-only.go test ./...
dies immediately with:It doesn't run any of the tests in any of the packages. I'd prefer if
go test ./...
informed me that it couldn't test the package in question, but continued to run the tests for the rest of the packages.cc @bcmills @jayconrod
As a workaround, @alexbrainman @bradfitz are you OK with me adding a non-windows stub file to golang.org/x/sys/windows?
The text was updated successfully, but these errors were encountered: