1
0
mirror of https://github.com/golang/go synced 2024-11-18 05:44:47 -07:00
go/misc/cgo/testshared
Ian Lance Taylor f17220c208 cmd/go: fix handling of vet.cfg with buggyInstall
The vet action assumes that a.Deps[0] is the compilation action for
which vet information should be generated. However, when using
-linkshared, the action graph is built with a ModeBuggyInstall action
to install the shared library built from the compilation action.
Adjust the set up of the vet action accordingly. Also don't clean up
the working directory after completing the buggy install.

Updates #26400

Change-Id: Ia51f9f6b8cde5614a6f2e41b6207478951547770
Reviewed-on: https://go-review.googlesource.com/124275
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-07-17 05:41:06 +00:00
..
src testshared/src/depBase: conform build tag comment to convention 2018-07-06 02:04:54 +00:00
shared_test.go cmd/go: fix handling of vet.cfg with buggyInstall 2018-07-17 05:41:06 +00:00