]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add coverage analysis
authorRob Pike <r@golang.org>
Tue, 11 Jun 2013 16:35:10 +0000 (09:35 -0700)
committerRob Pike <r@golang.org>
Tue, 11 Jun 2013 16:35:10 +0000 (09:35 -0700)
commitcaefc5d0caa46f032f6929037371c24f4c7f9b47
tree837a07d55bca58a1b1793669853f7f26b3a43c5b
parente4b5cbde463646475b160141e733e84174b79168
cmd/go: add coverage analysis
This feature is not yet ready for real use. The CL marks a bite-sized
piece that is ready for review. TODOs that remain:
        provide control over output
        produce output without setting -v
        make work on reflect, sync and time packages
                (fail now due to link errors caused by inlining)
        better documentation
Almost all packages work now, though, if clumsily; try:
        go test -v -cover=count encoding/binary

R=rsc
CC=gobot, golang-dev, remyoudompheng
https://golang.org/cl/10050045
src/cmd/go/build.go
src/cmd/go/doc.go
src/cmd/go/pkg.go
src/cmd/go/test.go
src/cmd/go/testflag.go
src/cmd/go/tool.go