Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TESTGO_GOROOT (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top