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

Issue 84300043: code review 84300043: cmd/go: always build package during "go test" command (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by brainman
Modified:
10 years ago
Reviewers:
oleku, r, adg, dave
CC:
golang-codereviews, r, adg
Visibility:
Public.

Description

cmd/go: always build package during "go test" command even when there are no *_test.go files present. rsc suggested this change Fixes issue 7108

Patch Set 1 #

Patch Set 2 : diff -r 1474b280d7aa https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 1474b280d7aa https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 94d84d24086b https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 6c4e0c99f534 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M src/cmd/go/test.bash View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/cmd/go/test.go View 1 1 chunk +1 line, -1 line 0 comments Download
A src/cmd/go/testdata/src/notest/hello.go View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 15
brainman
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
10 years ago (2014-04-04 01:19:15 UTC) #1
brainman
This will, probably, break some builds. :-) Alex
10 years ago (2014-04-04 01:20:07 UTC) #2
r
Is there a reason to do this for 1.3? I'd rather break builds later, thank ...
10 years ago (2014-04-09 06:32:59 UTC) #3
brainman
On 2014/04/09 06:32:59, r wrote: > Is there a reason to do this for 1.3? ...
10 years ago (2014-04-09 06:42:23 UTC) #4
r
Well, he also asked for a test in test.bash, which you didn't provide. If you ...
10 years ago (2014-04-09 06:57:27 UTC) #5
brainman
Hello golang-codereviews@googlegroups.com, r@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
10 years ago (2014-04-10 02:55:35 UTC) #6
brainman
On 2014/04/09 06:57:27, r wrote: > ... he also asked for a test in test.bash, ...
10 years ago (2014-04-10 02:56:20 UTC) #7
r
LGTM but wait for adg to sign off because of the pending breakages.
10 years ago (2014-04-10 02:58:28 UTC) #8
adg
LGTM
10 years ago (2014-04-10 03:22:05 UTC) #9
brainman
*** Submitted as https://code.google.com/p/go/source/detail?r=a79e99b1b44c *** cmd/go: always build package during "go test" command even when ...
10 years ago (2014-04-10 04:02:31 UTC) #10
oleku
What would happen when "go test app_test.go" is called ? - Does it try to ...
10 years ago (2014-04-10 20:18:38 UTC) #11
brainman
On 2014/04/10 20:18:38, oleku wrote: > What would happen when "go test app_test.go" is called ...
10 years ago (2014-04-11 03:50:48 UTC) #12
dave_cheney.net
I think this had the unexpected side effect of breaking all the sample code in ...
10 years ago (2014-04-12 05:22:15 UTC) #13
brainman
On 2014/04/12 05:22:15, dfc wrote: > I think this had the unexpected side effect of ...
10 years ago (2014-04-12 05:25:39 UTC) #14
dave_cheney.net
10 years ago (2014-04-12 05:26:23 UTC) #15
Jolly good, carry on.

On Sat, Apr 12, 2014 at 3:25 PM,  <alex.brainman@gmail.com> wrote:
> On 2014/04/12 05:22:15, dfc wrote:
>>
>> I think this had the unexpected side effect of breaking all the sample
>
> code in
>>
>> the go.blog sub repo.
>
>
> That is what I said in #7. I guess r and adg have some plan to fix that.
>
> Alex
>
> https://codereview.appspot.com/84300043/
Sign in to reply to this message.

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