]> Cypherpunks repositories - gostls13.git/commit
cmd/go: set GO111MODULE=off explicitly in tests that assume GOPATH mode
authorBryan C. Mills <bcmills@google.com>
Wed, 13 Feb 2019 20:06:46 +0000 (15:06 -0500)
committerBryan C. Mills <bcmills@google.com>
Tue, 19 Feb 2019 19:57:03 +0000 (19:57 +0000)
commit613f0a31445666cd573bf070309607e579b0b5c7
treec81ac2f5c6682cd68a3057064782c0002630214d
parentcf155b00d18f855eaaf2a541190dba3ff7b7cf8a
cmd/go: set GO111MODULE=off explicitly in tests that assume GOPATH mode

We will soon switch GO111MODULE to 'on' by default, and when that
happens these tests will otherwise break.

Updates #30228

Change-Id: I1016d429b1dfb889d1aae8bc86fb2567cf0fc56f
Reviewed-on: https://go-review.googlesource.com/c/162697
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
50 files changed:
src/cmd/go/go_test.go
src/cmd/go/testdata/script/binary_only.txt
src/cmd/go/testdata/script/build_GOTMPDIR.txt
src/cmd/go/testdata/script/build_cache_compile.txt
src/cmd/go/testdata/script/build_cache_gomips.txt
src/cmd/go/testdata/script/build_cache_link.txt
src/cmd/go/testdata/script/build_cache_output.txt
src/cmd/go/testdata/script/build_nocache.txt
src/cmd/go/testdata/script/build_relative_pkgdir.txt
src/cmd/go/testdata/script/build_relative_tmpdir.txt
src/cmd/go/testdata/script/build_runtime_gcflags.txt
src/cmd/go/testdata/script/cache_unix.txt
src/cmd/go/testdata/script/cgo_syso_issue29253.txt
src/cmd/go/testdata/script/clean_testcache.txt
src/cmd/go/testdata/script/cover_atomic_pkgall.txt
src/cmd/go/testdata/script/cover_pkgall_runtime.txt
src/cmd/go/testdata/script/cpu_profile_twice.txt
src/cmd/go/testdata/script/fileline.txt
src/cmd/go/testdata/script/gcflags_patterns.txt
src/cmd/go/testdata/script/get_brace.txt
src/cmd/go/testdata/script/get_dotfiles.txt
src/cmd/go/testdata/script/get_tilde.txt
src/cmd/go/testdata/script/get_unicode.txt
src/cmd/go/testdata/script/get_with_git_trace.txt
src/cmd/go/testdata/script/goflags.txt
src/cmd/go/testdata/script/help.txt
src/cmd/go/testdata/script/install_cleans_build.txt
src/cmd/go/testdata/script/install_cross_gobin.txt
src/cmd/go/testdata/script/install_rebuild_gopath.txt
src/cmd/go/testdata/script/install_rebuild_removed.txt
src/cmd/go/testdata/script/linkname.txt
src/cmd/go/testdata/script/list_bad_import.txt
src/cmd/go/testdata/script/list_compiled_imports.txt
src/cmd/go/testdata/script/list_find.txt
src/cmd/go/testdata/script/list_importmap.txt
src/cmd/go/testdata/script/list_std.txt
src/cmd/go/testdata/script/list_tags.txt
src/cmd/go/testdata/script/list_test_e.txt
src/cmd/go/testdata/script/list_test_imports.txt
src/cmd/go/testdata/script/mod_find.txt
src/cmd/go/testdata/script/mod_gobuild_import.txt
src/cmd/go/testdata/script/pattern_syntax_error.txt
src/cmd/go/testdata/script/run_hello.txt
src/cmd/go/testdata/script/run_wildcard.txt
src/cmd/go/testdata/script/script_wait.txt
src/cmd/go/testdata/script/test_badtest.txt
src/cmd/go/testdata/script/test_compile_binary.txt
src/cmd/go/testdata/script/test_devnull.txt
src/cmd/go/testdata/script/vendor_complex.txt
src/cmd/go/testdata/script/vet_asm.txt