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

Issue 4584060: code review 4584060: go/build: remove crud in cgotest/_obj (Closed)

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

Description

go/build: remove crud in cgotest/_obj

Patch Set 1 #

Patch Set 2 : diff -r 7b38953d921c https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 7b38953d921c https://go.googlecode.com/hg/ #

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

Messages

Total messages: 6
dave_cheney.net
Hello adg@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 9 months ago (2011-06-15 06:08:25 UTC) #1
adg
LGTM On 15 June 2011 16:08, <dave@cheney.net> wrote: > Reviewers: adg, > > Message: > ...
13 years, 9 months ago (2011-06-15 06:21:10 UTC) #2
adg
*** Submitted as http://code.google.com/p/go/source/detail?r=78a6b3731880 *** go/build: remove crud in cgotest/_obj R=adg CC=golang-dev http://codereview.appspot.com/4584060 Committer: Andrew ...
13 years, 9 months ago (2011-06-15 06:39:26 UTC) #3
rsc
That should be a last resort. The test should clean up after itself.
13 years, 9 months ago (2011-06-15 13:05:36 UTC) #4
adg
On 15 June 2011 23:05, Russ Cox <rsc@golang.org> wrote: > That should be a last ...
13 years, 9 months ago (2011-06-15 22:58:14 UTC) #5
dave_cheney.net
13 years, 9 months ago (2011-06-15 23:25:48 UTC) #6
There were also other cases where building on a single arch would cause the test
to fail, but your point is taken, this was a crude solution. I'll have another
bash today, probably resulting in an rmdir of cgotest/_obj before starting the
test. 

Cheers

Dave


Sent from my C64

On 16/06/2011, at 8:57, Andrew Gerrand <adg@golang.org> wrote:

> On 15 June 2011 23:05, Russ Cox <rsc@golang.org> wrote:
>> That should be a last resort.
>> The test should clean up after itself.
> 
> It does, but the test also checks that it has cleaned everything
> completely. Dave had a situation where a previous test with GOARCH=386
> had left some .8 files around that weren't being cleaned when
> GOARCH=amd64. The test then couldn't remove _obj and failed.
Sign in to reply to this message.

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