Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for runEnv (0.29 sec)

  1. src/cmd/dist/util.go

    	}
    	return keep
    }
    
    const (
    	CheckExit = 1 << iota
    	ShowOutput
    	Background
    )
    
    var outputLock sync.Mutex
    
    // run is like runEnv with no additional environment.
    func run(dir string, mode int, cmd ...string) string {
    	return runEnv(dir, mode, nil, cmd...)
    }
    
    // runEnv runs the command line cmd in dir with additional environment env.
    // If mode has ShowOutput set and Background unset, run passes cmd's output to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/envcmd/env.go

    	}
    
    	// Handle 'go env -w' and 'go env -u' before calling buildcfg.Check,
    	// so they can be used to recover from an invalid configuration.
    	if *envW {
    		runEnvW(args)
    		return
    	}
    
    	if *envU {
    		runEnvU(args)
    		return
    	}
    
    	buildcfg.Check()
    	if cfg.ExperimentErr != nil {
    		base.Fatal(cfg.ExperimentErr)
    	}
    
    	for _, arg := range args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/cshared_test.go

    		ldLibPath += ":"
    	}
    	ldLibPath += tmpdir
    
    	runenv := []string{"LD_LIBRARY_PATH=" + ldLibPath}
    
    	bin := filepath.Join(tmpdir, "m1") + exeSuffix
    	run(t, goenv, "go", "build", "-o", bin, "./go2c2go/m1")
    	runExe(t, runenv, bin)
    
    	bin = filepath.Join(tmpdir, "m2") + exeSuffix
    	run(t, goenv, "go", "build", "-o", bin, "./go2c2go/m2")
    	runExe(t, runenv, bin)
    }
    
    func TestIssue36233(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  4. src/cmd/internal/testdir/testdir_test.go

    			args = args[1:]
    			if goexp != "" {
    				goexp += ","
    			}
    			goexp += args[0]
    			runenv = append(runenv, "GOEXPERIMENT="+goexp)
    
    		case "-godebug": // set GODEBUG environment
    			args = args[1:]
    			if godebug != "" {
    				godebug += ","
    			}
    			godebug += args[0]
    			runenv = append(runenv, "GODEBUG="+godebug)
    
    		default:
    			flags = append(flags, args[0])
    		}
    		args = args[1:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. src/cmd/dist/build.go

    		goCmd = append(goCmd, "-v")
    	}
    
    	// Force only one process at a time on vx32 emulation.
    	if gohostos == "plan9" && os.Getenv("sysname") == "vx32" {
    		goCmd = append(goCmd, "-p=1")
    	}
    
    	runEnv(workdir, ShowOutput|CheckExit, env, append(goCmd, args...)...)
    }
    
    func checkNotStale(env []string, goBinary string, targets ...string) {
    	goCmd := []string{goBinary, "list"}
    	if noOpt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  6. .idea/dictionaries/hungnv.xml

    <component name="ProjectDictionaryState">
      <dictionary name="hungnv">
        <words>
          <w>externalizers</w>
          <w>granularities</w>
          <w>multifile</w>
          <w>relocatability</w>
          <w>shrinker</w>
          <w>snapshotter</w>
          <w>snapshotter's</w>
        </words>
      </dictionary>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Aug 16 13:40:19 UTC 2023
    - 303 bytes
    - Viewed (0)
  7. pkg/test/framework/suite_test.go

    	g := NewWithT(t)
    
    	var waitForRun1 sync.WaitGroup
    	waitForRun1.Add(1)
    	var waitForTestCompletion sync.WaitGroup
    	waitForTestCompletion.Add(1)
    	runFn1 := func(ctx *suiteContext) int {
    		waitForRun1.Done()
    		waitForTestCompletion.Wait()
    		return 0
    	}
    
    	runFn2 := func(ctx *suiteContext) int {
    		return 0
    	}
    
    	var waitForExit1Call sync.WaitGroup
    	waitForExit1Call.Add(1)
    	var errCode1 int
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. pkg/test/framework/integration/framework_test.go

    				subTest.Run(child.runInternal)
    			}
    		}
    	}
    	tst.runEnd = time.Now()
    }
    
    func (tst *test) timeRange() timeRange {
    	return timeRange{
    		start: tst.runStart,
    		end:   tst.cleanupEnd,
    	}
    }
    
    func (tst *test) doCheck() error {
    	// Make sure the component was closed after the test's run method exited.
    	if tst.componentCloseStart.Before(tst.runEnd) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. pilot/pkg/leaderelection/leaderelection.go

    	mu sync.RWMutex
    }
    
    // Run will start leader election, calling all runFns when we become the leader.
    // If leader election is disabled, it skips straight to the runFns.
    func (l *LeaderElection) Run(stop <-chan struct{}) {
    	if !l.enabled {
    		log.Infof("bypassing leader election: %v", l.electionID)
    		for _, f := range l.runFns {
    			go f(stop)
    		}
    		<-stop
    		return
    	}
    	if l.defaultWatcher != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy

    ant.importBuild(file('build.xml')) { antTaskName ->
        antTaskName == 'b' ? 'ant-b' : antTaskName
    }
    
    task runAnt(dependsOn: 'a')
    """
            inTestDirectory().withTasks('runAnt').run().assertTasksExecutedInOrder(':c', ':ant-b', ':a', ':runAnt')
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top