From 3ce13eb2b9c0a654da964e29ff8d2d145f3d396b Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 30 Jan 2026 12:35:00 -0800 Subject: [PATCH] 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 --- cmd/testwrapper/args.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/testwrapper/args.go b/cmd/testwrapper/args.go index 11ed1aeaa..350197d4f 100644 --- a/cmd/testwrapper/args.go +++ b/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 }