- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for initCoverProfile (0.55 sec)
-
src/cmd/go/internal/test/cover.go
f *os.File sync.Mutex // for f.Write } // initCoverProfile initializes the test coverage profile. // It must be run before any calls to mergeCoverProfile or closeCoverProfile. // Using this function clears the profile in case it existed from a previous run, // or in case it doesn't exist and the test is going to fail to create it (or not run). func initCoverProfile() { if testCoverProfile == "" || testC { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:50:58 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
buf.WriteString("\n") } base.Errorf("cannot write test binary %s for multiple packages:\n%s", testBinary, buf.String()) } } base.ExitIfErrors() } initCoverProfile() defer closeCoverProfile() // If a test timeout is finite, set our kill timeout // to that timeout plus one minute. This is a backup alarm in case
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0)