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
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.
There were also other cases where building on a single arch would cause the test ...
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.
Issue 4584060: code review 4584060: go/build: remove crud in cgotest/_obj
(Closed)
Created 13 years, 9 months ago by dave_cheney.net
Modified 13 years, 9 months ago
Reviewers: rsc
Base URL:
Comments: 0