diff options
author | Bryan C. Mills <bcmills@google.com> | 2020-06-09 22:00:18 -0400 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2020-06-10 03:27:28 +0000 |
commit | 2a4e71c752875f84dc0061f75fdcbfc96ae8d5f2 (patch) | |
tree | 9507444840bd61540f3fa7009813ba5f471e7c30 /src/run.bat | |
parent | b9332ed31aa4c2b73134a1b968761fc4c259ccac (diff) | |
download | go-2a4e71c752875f84dc0061f75fdcbfc96ae8d5f2.tar.gz go-2a4e71c752875f84dc0061f75fdcbfc96ae8d5f2.zip |
run.bat: do not unset GOROOT_FINAL before running tests
This removes the same logic from run.bat that was removed from
cmd/dist in CL 236819.
The duplicated logic was removed from run.bash and run.rc in CL 6531,
but that part of run.bat was apparently missed (and not noticed
because its effect was redundant).
Also fix a path-separator bug in cmd/addr2line.TestAddr2Line that was
exposed as a result.
Fixes #39478
Updates #39385
Change-Id: I00054966cf92ef92a03681bf23de7f45f46fbb5e
Reviewed-on: https://go-review.googlesource.com/c/go/+/237359
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/run.bat')
-rw-r--r-- | src/run.bat | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/run.bat b/src/run.bat index 90602b68cb..c299671c13 100644 --- a/src/run.bat +++ b/src/run.bat @@ -35,11 +35,6 @@ if errorlevel 1 goto fail echo.
:norebuild
-:: we must unset GOROOT_FINAL before tests, because runtime/debug requires
-:: correct access to source code, so if we have GOROOT_FINAL in effect,
-:: at least runtime/debug test will fail.
-set GOROOT_FINAL=
-
:: get CGO_ENABLED
..\bin\go env > env.bat
if errorlevel 1 goto fail
|