Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CMDGO_TEST_RUN_MAIN (0.14 sec)

  1. src/cmd/go/script_test.go

    		"GOSUMDB=" + testSumDBVerifierKey,
    		"GONOPROXY=",
    		"GONOSUMDB=",
    		"GOVCS=*:all",
    		"devnull=" + os.DevNull,
    		"goversion=" + gover.Local(),
    		"CMDGO_TEST_RUN_MAIN=true",
    		"HGRCPATH=",
    		"GOTOOLCHAIN=auto",
    		"newline=\n",
    	}
    
    	if testenv.Builder() != "" || os.Getenv("GIT_TRACE_CURL") == "1" {
    		// To help diagnose https://go.dev/issue/52545,
    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

    // deletes it after the tests have been run.
    func TestMain(m *testing.M) {
    	// When CMDGO_TEST_RUN_MAIN is set, we're reusing the test binary as cmd/go.
    	// Enable the special behavior needed in cmd/go/internal/work,
    	// run the main func exported via export_test.go, and exit.
    	// We set CMDGO_TEST_RUN_MAIN via os.Setenv and testScript.setup.
    	if os.Getenv("CMDGO_TEST_RUN_MAIN") != "" {
    		cfg.SetGOROOT(cfg.GOROOT, true)
    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