diff options
author | Bryan C. Mills <bcmills@google.com> | 2019-03-05 08:51:44 -0500 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2019-03-05 18:21:29 +0000 |
commit | 9670e81c2e776b4781bc4cecddf45052ebf0afe6 (patch) | |
tree | 39085167c8c83b96e423334cfa67c62d973e96ab /src/debug | |
parent | e44a031651d042107d446b4038a70c6da763e2d5 (diff) | |
download | go-9670e81c2e776b4781bc4cecddf45052ebf0afe6.tar.gz go-9670e81c2e776b4781bc4cecddf45052ebf0afe6.zip |
all: add -mod=vendor to GOFLAGS in tests that execute 'go' commands within std or cmd
Updates #30228
Updates #30240
Updates #30241
Change-Id: Idc311ba77e99909318b5b86f8ef82d4878f73e47
Reviewed-on: https://go-review.googlesource.com/c/go/+/165378
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/gosym/pclntab_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug/gosym/pclntab_test.go b/src/debug/gosym/pclntab_test.go index d21f0e24a8..c67fb66f0d 100644 --- a/src/debug/gosym/pclntab_test.go +++ b/src/debug/gosym/pclntab_test.go @@ -21,6 +21,8 @@ var ( pclinetestBinary string ) +func init() { testenv.SetModVendor() } + func dotest(t *testing.T) { testenv.MustHaveGoBuild(t) // For now, only works on amd64 platforms. |