mirror of
https://github.com/golang/go
synced 2024-11-18 05:44:47 -07:00
2a07c50a5c
The standard build assumes the variable is unset. Make it so, like we do for GOFLAGS, GOBIN, and so on. Change-Id: I4ad5695f8021b08bd1a35dd99112970a813d247c Reviewed-on: https://go-review.googlesource.com/c/149959 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
17 lines
435 B
Bash
Executable File
17 lines
435 B
Bash
Executable File
#!/bin/rc -e
|
|
# Copyright 2012 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
rfork e
|
|
|
|
eval `{go env}
|
|
|
|
GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens
|
|
# to be under $GOPATH, then some tests below will fail
|
|
GOBIN = () # Issue 14340
|
|
GOFLAGS = ()
|
|
GO111MODULE = ()
|
|
|
|
exec go tool dist test -rebuild $*
|