cmd/go: write coverage to file, add percentage statistic
Move the data dumper to the testing package, where it has access
to file I/O.
Print a percentage value at the end of the run.
https://codereview.appspot.com/10264045/diff/15001/src/pkg/testing/cover.go File src/pkg/testing/cover.go (right): https://codereview.appspot.com/10264045/diff/15001/src/pkg/testing/cover.go#newcode48 src/pkg/testing/cover.go:48: defer f.Close() should check the error return value of ...
11 years, 9 months ago
(2013-06-18 03:46:07 UTC)
#2
LGTM https://codereview.appspot.com/10264045/diff/28001/src/cmd/go/test.go File src/cmd/go/test.go (right): https://codereview.appspot.com/10264045/diff/28001/src/cmd/go/test.go#newcode1012 src/cmd/go/test.go:1012: testing.CoverRegister(coverCounters, coverBlocks) s/CoverRegister/RegisterCover/ to match various other registrations ...
11 years, 9 months ago
(2013-06-18 21:05:08 UTC)
#5
Issue 10264045: code review 10264045: cmd/go: write coverage to file, add percentage statistic
(Closed)
Created 11 years, 9 months ago by r
Modified 11 years, 9 months ago
Reviewers:
Base URL:
Comments: 8