Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestBinary (0.15 sec)

  1. src/cmd/go/internal/test/test.go

    		}
    
    		pkgsForBinary := map[string][]*load.Package{}
    
    		for _, p := range pkgs {
    			testBinary := testBinaryName(p)
    			pkgsForBinary[testBinary] = append(pkgsForBinary[testBinary], p)
    		}
    
    		for testBinary, pkgs := range pkgsForBinary {
    			if len(pkgs) > 1 {
    				var buf strings.Builder
    				for _, pkg := range pkgs {
    					buf.WriteString(pkg.ImportPath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. src/testing/testing.go

    	if !flag.Parsed() {
    		panic("testing: Short called before Parse")
    	}
    
    	return *short
    }
    
    // testBinary is set by cmd/go to "1" if this is a binary built by "go test".
    // The value is set to "1" by a -X option to cmd/link. We assume that
    // because this is possible, the compiler will not optimize testBinary
    // into a constant on the basis that it is an unexported package-scope
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top