Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestGOVCS (0.12 sec)

  1. src/cmd/go/script_test.go

    		// or they require our intercepted vcs-test.golang.org to regenerate the repository.
    		// Require all tests that use VCS commands to be skipped in short mode.
    		env = append(env, "TESTGOVCS=panic")
    	}
    
    	if os.Getenv("CGO_ENABLED") != "" || runtime.GOOS != goHostOS || runtime.GOARCH != goHostArch {
    		// If the actual CGO_ENABLED might not match the cmd/go default, set it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	if tg.env == nil {
    		tg.env = append([]string(nil), os.Environ()...)
    		tg.env = append(tg.env, "GO111MODULE=off", "TESTGONETWORK=panic")
    		if testing.Short() {
    			tg.env = append(tg.env, "TESTGOVCS=panic")
    		}
    	}
    	for i, v := range tg.env {
    		if strings.HasPrefix(v, name+"=") {
    			tg.env = append(tg.env[:i], tg.env[i+1:]...)
    			break
    		}
    	}
    }
    
    func (tg *testgoData) goTool() string {
    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