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

Issue 13462046: code review 13462046: cmd/go: fix go test using package main_test (Closed)

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

Description

cmd/go: fix go test using package main_test A package main binary (that is, a command) being installed does not mean we can skip the build of the package archive during a test. Fixes issue 3417.

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -1 line) Patch
M src/cmd/go/test.bash View 1 1 chunk +21 lines, -0 lines 0 comments Download
M src/cmd/go/test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
A src/cmd/go/testdata/src/main_test/m.go View 1 1 chunk +4 lines, -0 lines 0 comments Download
A src/cmd/go/testdata/src/main_test/m_test.go View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 6 months ago (2013-09-10 17:16:12 UTC) #1
bradfitz
LGTM On Sep 10, 2013 10:16 AM, <rsc@golang.org> wrote: > Reviewers: golang-dev1, > > Message: ...
11 years, 6 months ago (2013-09-10 17:19:35 UTC) #2
rsc
11 years, 6 months ago (2013-09-10 18:43:38 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=3c9e361c43ab ***

cmd/go: fix go test using package main_test

A package main binary (that is, a command) being installed
does not mean we can skip the build of the package archive
during a test.

Fixes issue 3417.

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

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