Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setupCmds (0.11 sec)

  1. src/cmd/dist/test.go

    // run. testFlags is the list of flags to pass to the test package.
    //
    // The caller must call setupCmd on the resulting exec.Cmd to set its directory
    // and environment.
    func (opts *goTest) buildArgs(t *tester) (build, run, pkgs, testFlags []string, setupCmd func(*exec.Cmd)) {
    	run = append(run, "-count=1") // Disallow caching
    	if opts.timeout != 0 {
    		d := opts.timeout * time.Duration(t.timeoutScale)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top