]> Cypherpunks repositories - gostls13.git/commit
cmd/go: skip vet when package cannot be build under "go test/vet"
authorYury Smolsky <yury@smolsky.by>
Sun, 15 Jul 2018 15:34:55 +0000 (18:34 +0300)
committerIan Lance Taylor <iant@golang.org>
Thu, 19 Jul 2018 19:16:35 +0000 (19:16 +0000)
commitad705baafd52089cad35791755e4b80212727a82
tree622535af4be98d6c48123096ec9d7182de4cf9e2
parent0ba03b8f42dc09212dfa28baa374577168a2bce7
cmd/go: skip vet when package cannot be build under "go test/vet"

If the the package cannot be built,
"go test" and "go vet" should not run the "vet" tool.
In that case only errors from the compilers will be displayed.

Fixes #26125

Change-Id: I5da6ba64bae5f44feaf5bd4e765eea85533cddd4
Reviewed-on: https://go-review.googlesource.com/123938
Run-TryBot: Yury Smolsky <yury@smolsky.by>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/work/exec.go