]> Cypherpunks repositories - gostls13.git/commit
cmd/go: write coverage to file, add percentage statistic
authorRob Pike <r@golang.org>
Tue, 18 Jun 2013 21:18:25 +0000 (14:18 -0700)
committerRob Pike <r@golang.org>
Tue, 18 Jun 2013 21:18:25 +0000 (14:18 -0700)
commit8e8b8b85c261d219ed3b37638b6cd96d47da79d6
treecdae6a12bed22bb8a9da4990401ad0fdaa4df6ac
parent6154ae8e24f8e4ddc414cc8c11a5ac091935cb73
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.

R=rsc, adg
CC=golang-dev
https://golang.org/cl/10264045
src/cmd/go/test.go
src/cmd/go/testflag.go
src/pkg/testing/cover.go [new file with mode: 0644]
src/pkg/testing/testing.go