]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: use the test binary as 'vet' instead of rebuilding it
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:51:11 +0000 (10:51 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:24:44 +0000 (20:24 +0000)
commit509ac2ca6dbda4fff7a0e4e25589bb8827c897c2
tree4bbf2af36aa2cdaf95866f2f6759aaa9a6a94c6f
parentddf78189d47ff97afb76d3b4e47edbf3eb0ee11c
cmd/vet: use the test binary as 'vet' instead of rebuilding it

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-cover' passed to the 'go test' command.

Change-Id: I4914870396f90097f45d00012e5601fe42655899
Reviewed-on: https://go-review.googlesource.com/c/go/+/450710
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/vet/vet_test.go