Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(258)

Issue 10050045: code review 10050045: cmd/go: add coverage analysis (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by r
Modified:
12 years ago
Reviewers:
rsc
CC:
rsc, gobot, golang-dev, remyoudompheng
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : diff -r 7eca82ec46af https://code.google.com/p/go #

Total comments: 3

Patch Set 3 : diff -r b43c4daaccba https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -20 lines) Patch
M src/cmd/go/build.go View 1 2 chunks +31 lines, -1 line 0 comments Download
M src/cmd/go/doc.go View 1 chunk +12 lines, -0 lines 0 comments Download
M src/cmd/go/pkg.go View 1 2 chunks +23 lines, -13 lines 0 comments Download
M src/cmd/go/test.go View 1 2 8 chunks +109 lines, -5 lines 0 comments Download
M src/cmd/go/testflag.go View 1 2 chunks +8 lines, -0 lines 0 comments Download
M src/cmd/go/tool.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 1 month ago (2013-06-10 21:49:26 UTC) #1
remyoudompheng
On 2013/06/10 21:49:26, r wrote: > Hello mailto:golang-dev@googlegroups.com, > > I'd like you to review ...
12 years, 1 month ago (2013-06-10 22:25:30 UTC) #2
r
Long story. Short version: dependencies of the tested code are compiled with a function whose ...
12 years, 1 month ago (2013-06-10 23:00:03 UTC) #3
gobot
R=rsc (assigned by r)
12 years, 1 month ago (2013-06-10 23:27:49 UTC) #4
rsc
Only doc.go is here. Missing some files?
12 years, 1 month ago (2013-06-11 05:37:52 UTC) #5
r
oh for heaven's sake. PTAL
12 years ago (2013-06-11 05:53:38 UTC) #6
rsc
LGTM https://codereview.appspot.com/10050045/diff/5001/src/cmd/go/build.go File src/cmd/go/build.go (right): https://codereview.appspot.com/10050045/diff/5001/src/cmd/go/build.go#newcode1117 src/cmd/go/build.go:1117: return err The easiest way to make the ...
12 years ago (2013-06-11 06:05:57 UTC) #7
r
will add -o and fix that in a separate CL
12 years ago (2013-06-11 16:32:51 UTC) #8
r
12 years ago (2013-06-11 16:35:13 UTC) #9
*** Submitted as https://code.google.com/p/go/source/detail?r=a14bbc9436a3 ***

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://codereview.appspot.com/10050045
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b