diff options
| author | Constantin Konstantinidis <constantinkonstantinidis@gmail.com> | 2023-11-05 10:35:12 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-02-21 22:16:54 +0000 |
| commit | 507d1b22f4b58ac68841582d0c2c0ab6b20e5a98 (patch) | |
| tree | 86a1639619d483782e5952f707466941e1727ebf /src/cmd/objdump | |
| parent | 05c0579621b54cc461dd19dd9bebd5a2b3e7af3c (diff) | |
| download | go-507d1b22f4b58ac68841582d0c2c0ab6b20e5a98.tar.xz | |
cmd: remove support for GOROOT_FINAL
Fixes #62047
Change-Id: If7811c1eb9073fb09b7006076998f8b2e1810bfb
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/539975
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/cmd/objdump')
| -rw-r--r-- | src/cmd/objdump/objdump_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/objdump/objdump_test.go b/src/cmd/objdump/objdump_test.go index 6e781c924d..a755ec3b64 100644 --- a/src/cmd/objdump/objdump_test.go +++ b/src/cmd/objdump/objdump_test.go @@ -152,9 +152,6 @@ func testDisasm(t *testing.T, srcfname string, printCode bool, printGnuAsm bool, cmd := testenv.Command(t, testenv.GoToolPath(t), args...) // "Bad line" bug #36683 is sensitive to being run in the source directory. cmd.Dir = "testdata" - // Ensure that the source file location embedded in the binary matches our - // actual current GOROOT, instead of GOROOT_FINAL if set. - cmd.Env = append(os.Environ(), "GOROOT_FINAL=") t.Logf("Running %v", cmd.Args) out, err := cmd.CombinedOutput() if err != nil { |
