- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testBinary (0.13 sec)
-
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) -
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)