Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for GetEnv (0.28 sec)

  1. src/cmd/dist/build.go

    	// For tools being invoked but also for os.ExpandEnv.
    	os.Setenv("GO386", go386)
    	os.Setenv("GOAMD64", goamd64)
    	os.Setenv("GOARCH", goarch)
    	os.Setenv("GOARM", goarm)
    	os.Setenv("GOARM64", goarm64)
    	os.Setenv("GOHOSTARCH", gohostarch)
    	os.Setenv("GOHOSTOS", gohostos)
    	os.Setenv("GOOS", goos)
    	os.Setenv("GOMIPS", gomips)
    	os.Setenv("GOMIPS64", gomips64)
    	os.Setenv("GOPPC64", goppc64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	// We set CMDGO_TEST_RUN_MAIN via os.Setenv and testScript.setup.
    	if os.Getenv("CMDGO_TEST_RUN_MAIN") != "" {
    		cfg.SetGOROOT(cfg.GOROOT, true)
    		gover.TestVersion = os.Getenv("TESTGO_VERSION")
    		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 != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  3. src/cmd/dist/test.go

    	fn      func(*distTest) error
    }
    
    func (t *tester) run() {
    	timelog("start", "dist test")
    
    	os.Setenv("PATH", fmt.Sprintf("%s%c%s", gorootBin, os.PathListSeparator, os.Getenv("PATH")))
    
    	t.short = true
    	if v := os.Getenv("GO_TEST_SHORT"); v != "" {
    		short, err := strconv.ParseBool(v)
    		if err != nil {
    			fatalf("invalid GO_TEST_SHORT %q: %v", v, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	c.mustListObjects(ctx, lisaClient, "projectaorb")
    	c.mustNotListObjects(ctx, lisaClient, "other")
    }
    
    func TestIAMWithOpenIDMultipleConfigsValidation1(t *testing.T) {
    	openIDServer := os.Getenv(EnvTestOpenIDServer)
    	openIDServer2 := os.Getenv(EnvTestOpenIDServer2)
    	if openIDServer == "" || openIDServer2 == "" {
    		t.Skip("Skipping OpenID test as enough OpenID servers are not provided.")
    	}
    	testApps := testClientApps
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/init.go

    	// assume they know what they are doing and don't step on it.
    	// But default to turning off ControlMaster.
    	if os.Getenv("GIT_SSH") == "" && os.Getenv("GIT_SSH_COMMAND") == "" {
    		os.Setenv("GIT_SSH_COMMAND", "ssh -o ControlMaster=no -o BatchMode=yes")
    	}
    
    	if os.Getenv("GCM_INTERACTIVE") == "" {
    		os.Setenv("GCM_INTERACTIVE", "never")
    	}
    	if modRoots != nil {
    		// modRoot set before Init was called ("go mod init" does this).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  6. cmd/kubelet/app/server.go

    	// To help debugging, immediately log version
    	klog.InfoS("Kubelet version", "kubeletVersion", version.Get())
    
    	klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	if err := initForOS(s.KubeletFlags.WindowsService, s.KubeletFlags.WindowsPriorityClass); err != nil {
    		return fmt.Errorf("failed OS init: %w", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  7. src/os/os_test.go

    	t.Parallel()
    
    	var dir, cmd string
    	var args []string
    	switch runtime.GOOS {
    	case "android":
    		t.Skip("android doesn't have /bin/pwd")
    	case "windows":
    		cmd = Getenv("COMSPEC")
    		dir = Getenv("SystemRoot")
    		args = []string{"/c", "cd"}
    	default:
    		var err error
    		cmd, err = exec.LookPath("pwd")
    		if err != nil {
    			t.Fatalf("Can't find pwd: %v", err)
    		}
    		dir = "/"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            file("build.gradle") << """
                buildDir = 'out'
                tasks.register('doIt') {
                    // just so we had something for the CC report,
                    System.getenv('JAVA_HOME')
                    doLast {
                        println("Done")
                    }
                }
            """
    
            when:
            run(ENABLE_CLI_OPT, '--warn', 'doIt')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  9. src/go/build/build.go

    func defaultGOPATH() string {
    	env := "HOME"
    	if runtime.GOOS == "windows" {
    		env = "USERPROFILE"
    	} else if runtime.GOOS == "plan9" {
    		env = "home"
    	}
    	if home := os.Getenv(env); home != "" {
    		def := filepath.Join(home, "go")
    		if filepath.Clean(def) == filepath.Clean(runtime.GOROOT()) {
    			// Don't set the default GOPATH to GOROOT,
    			// as that will trigger warnings from the go tool.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

                String value = entry.getValue();
                gradleInvocation.implicitLauncherJvmArgs.add(String.format("-D%s=%s", key, value));
            }
            if (isDebugLauncher()) {
                if (System.getenv().containsKey("CI")) {
                    throw new IllegalArgumentException("Builds cannot be started with the debugger enabled on CI. This will cause tests to hang forever. Remove the call to startLauncherInDebugger().");
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top