Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RunTests (0.16 sec)

  1. src/cmd/dist/test.go

    	}
    	if opts.bench {
    		// Run no tests.
    		run = append(run, "-run=^$")
    		// Run benchmarks briefly as a smoke test.
    		run = append(run, "-bench=.*", "-benchtime=.1s")
    	} else if opts.runTests != "" {
    		run = append(run, "-run="+opts.runTests)
    	}
    	if opts.cpu != "" {
    		run = append(run, "-cpu="+opts.cpu)
    	}
    	if t.json {
    		run = append(run, "-json")
    	}
    
    	if opts.gcflags != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. src/testing/testing.go

    		}
    	}
    }
    
    // RunTests is an internal function but exported because it is cross-package;
    // it is part of the implementation of the "go test" command.
    func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool) {
    	var deadline time.Time
    	if *timeout > 0 {
    		deadline = time.Now().Add(*timeout)
    	}
    	ran, ok := runTests(matchString, tests, deadline)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    func (p patchMyCRDV1Beta1Schema) Description() string {
    	return p.description
    }
    
    type ratchetingTestCase struct {
    	Name       string
    	Disabled   bool
    	Operations []ratchetingTestOperation
    }
    
    func runTests(t *testing.T, cases []ratchetingTestCase) {
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.CRDValidationRatcheting, true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
Back to top