x/vgo: vgo test does not honor special/test toolkit flags when wildcards are used #26214
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, AFAIK I am using the latest release.
What operating system and processor architecture are you using (
go env
)?What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
Put the following in one dir named
db
and make another dir with a go file, just a package statement should do.https://play.golang.org/p/FJlfCzFvCXK
What did you expect to see?
vgo test -v ./... -check.v
behaving likego test -v ./... -check.v
What did you see instead?
When
go test -v ./... -check.v
is invoked, the parameter is provided properly to test dirs that need it, and not to test dirs that don't; specifically dirs with no tests.vgo OTOH will bail when that last argument is provided. If you specify the direct path to the package such as
./db
, it works fine.Hope this is useful!
The text was updated successfully, but these errors were encountered: