You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/testwrapper
Maisem Ali e6ab7d3c14 cmd/testwrapper: parse args better
Previously we were just smushing together args and not trying
to parse the values at all. This resulted in the args to testwrapper
being limited and confusing.

This makes it so that testwrapper parses flags in the exact format as `go test`
command and passes them down in the provided order. It uses tesing.Init to
register flags that `go test` understands, however those are not the only
flags understood by `go test` (such as `-exec`) so we register these separately.

Updates tailscale/corp#14975

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
flakytest cmd/testwrapper: include flake URL in JSON metadata 2 years ago
args.go cmd/testwrapper: parse args better 2 years ago
args_test.go cmd/testwrapper: parse args better 2 years ago
testwrapper.go cmd/testwrapper: parse args better 2 years ago
testwrapper_test.go cmd/testwrapper: exit code 1 when go build fails (#9276) 2 years ago