]> Cypherpunks repositories - gostls13.git/commit
cmd/go: process -debug-trace flag for cmd/test and cmd/vet
authorMichael Matloob <matloob@golang.org>
Mon, 22 Jun 2020 23:02:00 +0000 (19:02 -0400)
committerMichael Matloob <matloob@golang.org>
Mon, 17 Aug 2020 18:32:15 +0000 (18:32 +0000)
commitebccba7954fe9507df993dda7ba78fa34e030390
tree9b83b9d84756e09893d611bdfe0f9258801a3dc4
parent38fea3a4ec97fbcfad1f2d329f3a12c53cc36301
cmd/go: process -debug-trace flag for cmd/test and cmd/vet

These commands are build-like commands that do their own flag
processing, so the value of debug-trace isn't available until
the command starts running. Start tracing in the cmd's run
function.

Updates #38714

Change-Id: I4d633e6ee907bf09feac52c2aff3daceb9b20e12
Reviewed-on: https://go-review.googlesource.com/c/go/+/248324
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/test/test.go
src/cmd/go/internal/vet/vet.go