...
Text file src/pkg/run.rc
1 #!/bin/rc -e
2 # Copyright 2012 The Go Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style
4 # license that can be found in the LICENSE file.
5
6 rfork e
7
8 eval `{go env}
9
10 GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens
11 # to be under $GOPATH, then some tests below will fail
12 GOBIN = () # Issue 14340
13 GOFLAGS = ()
14 GO111MODULE = ()
15
16 exec go tool dist test -rebuild $*
View as plain text