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

Issue 13036043: code review 13036043: cmd/go: fix at least some instances of double compilation (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by r
Modified:
11 years, 9 months ago
Reviewers:
rsc
CC:
golang-dev, rsc
Visibility:
Public.

Description

cmd/go: fix at least some instances of double compilation When the packages the tested package depends on don't build, we weren't getting out early. Added a simple check for a successful build to an existing early out. There may be other ways that double compilation arises, but this fixes the one listed in the issue. Fixes issue 5679

Patch Set 1 #

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/cmd/go/test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 9 months ago (2013-08-16 02:48:06 UTC) #1
rsc
LGTM
11 years, 9 months ago (2013-08-16 02:49:04 UTC) #2
r
11 years, 9 months ago (2013-08-16 02:49:58 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=f6ab40335287 ***

cmd/go: fix at least some instances of double compilation

When the packages the tested package depends on don't build,
we weren't getting out early. Added a simple check for a successful
build to an existing early out.

There may be other ways that double compilation arises, but
this fixes the one listed in the issue.
Fixes issue 5679

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/13036043
Sign in to reply to this message.

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