- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for TESTGO_GOROOT (0.16 sec)
-
src/cmd/go/testdata/script/build_trimpath_goroot.txt
exec ./example.exe stdout '^GOROOT '$TESTGO_GOROOT'$' stdout '^runtime '$TESTGO_GOROOT${/}src${/}runtime'$' ! exec ./example-trimpath.exe stdout '^GOROOT $' stderr 'cannot find package "runtime" in any of:\n\t\(\$GOROOT not set\)\n\t'$WORK${/}gopath${/}src${/}runtime' \(from \$GOPATH\)\n\z' exec ./example.test.exe -test.v stdout '^GOROOT '$TESTGO_GOROOT'$' stdout '^runtime '$TESTGO_GOROOT${/}src${/}runtime'$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/link_matching_actionid.txt
env GOROOT=$WORK/goroot1 symlink $GOROOT -> $TESTGO_GOROOT # Set up fresh GOCACHE env GOCACHE=$WORK/gocache1 mkdir $GOCACHE # Build a simple binary go build -o binary1 -trimpath -x main.go # Now repeat the same process with the compiler at a different local path env GOROOT=$WORK/goroot2 symlink $GOROOT -> $TESTGO_GOROOT env GOCACHE=$WORK/gocache2 mkdir $GOCACHE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 14:18:11 UTC 2020 - 835 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_temp.txt
# 1. /tmp/go.mod exists # 2. run 'go mod tidy' in /tmp or in the child directory not having go.mod. [GOOS:plan9] stop # Plan 9 has no $TMPDIR variable to set. env GOROOT=$TESTGO_GOROOT env TMP=$WORK env TMPDIR=$WORK mkdir $WORK/child ! go mod tidy ! stdout . stderr 'go: go.mod file not found in current directory or any parent directory' cd $WORK/child ! go mod tidy ! stdout .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 640 bytes - Viewed (0) -
src/cmd/go/testdata/script/dist_list_missing.txt
go tool dist list -json -broken stdout '"GOOS": "'$GOOS'",\n\s*"GOARCH": "'$GOARCH'",\n' cp stdout tool-json-broken.txt [short] stop # Check against the real cmd/dist as the source of truth. env GOROOT=$TESTGO_GOROOT go build -o dist.exe cmd/dist exec ./dist.exe list cmp stdout tool.txt exec ./dist.exe list -v cmp stdout tool-v.txt exec ./dist.exe list -broken cmp stdout tool-broken.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:52:13 UTC 2023 - 1.2K bytes - Viewed (0) -
src/cmd/go/scriptreadme_test.go
GOEXE=<executable file suffix: .exe on Windows, empty on other systems> GOOS=<target GOOS> GOPATH=$WORK/gopath GOPROXY=<local module proxy serving from cmd/go/testdata/mod> GOROOT=<actual GOROOT> TESTGO_GOROOT=<GOROOT used to build cmd/go, for use in tests that may change GOROOT> HOME=/no-home PATH=<actual PATH> TMPDIR=$WORK/tmp GODEBUG=<actual GODEBUG> devnull=<value of os.DevNull>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.9K bytes - Viewed (0) -
src/cmd/go/script_test.go
"GOPROXY=" + proxyURL, "GOPRIVATE=", "GOROOT=" + testGOROOT, "GOTRACEBACK=system", "TESTGONETWORK=panic", // allow only local connections by default; the [net] condition resets this "TESTGO_GOROOT=" + testGOROOT, "TESTGO_EXE=" + testGo, "TESTGO_VCSTEST_HOST=" + httpURL.Host, "TESTGO_VCSTEST_TLS_HOST=" + httpsURL.Host, "TESTGO_VCSTEST_CERT=" + srvCertFile,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/README
GOEXE=<executable file suffix: .exe on Windows, empty on other systems> GOOS=<target GOOS> GOPATH=$WORK/gopath GOPROXY=<local module proxy serving from cmd/go/testdata/mod> GOROOT=<actual GOROOT> TESTGO_GOROOT=<GOROOT used to build cmd/go, for use in tests that may change GOROOT> HOME=/no-home PATH=<actual PATH> TMPDIR=$WORK/tmp GODEBUG=<actual GODEBUG> devnull=<value of os.DevNull>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 12.5K bytes - Viewed (0) -
src/cmd/go/go_test.go
toolchain.TestVersionSwitch = os.Getenv("TESTGO_VERSION_SWITCH") if v := os.Getenv("TESTGO_TOOLCHAIN_VERSION"); v != "" { work.ToolchainVersion = v } if testGOROOT := os.Getenv("TESTGO_GOROOT"); testGOROOT != "" { // Disallow installs to the GOROOT from which testgo was built. // Installs to other GOROOTs — such as one set explicitly within a test — are ok. work.AllowInstall = func(a *work.Action) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0)