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>
main
Brad Fitzpatrick 3 months ago committed by Brad Fitzpatrick
parent 698e92a761
commit 3ce13eb2b9
  1. 1
      cmd/testwrapper/args.go

@ -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
}

Loading…
Cancel
Save