mirror of
https://github.com/tailscale/tailscale.git
synced 2026-02-07 22:42:02 -05:00
cmd/testwrapper: add support for the -vet test flag
So callers can run testwrapper with -vet=off if they're already running vet explicitly in a concurrent test job. Updates tailscale/corp#28679 Change-Id: I74ad56e560076d187f5e3a7d7381e1dac89d860c Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
698e92a761
commit
3ce13eb2b9
@@ -89,6 +89,7 @@ func newTestFlagSet() *flag.FlagSet {
|
||||
// TODO(maisem): figure out what other flags we need to register explicitly.
|
||||
fs.String("exec", "", "Command to run tests with")
|
||||
fs.Bool("race", false, "build with race detector")
|
||||
fs.String("vet", "", "vet checks to run, or 'off' or 'all'")
|
||||
return fs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user