develooper Front page | perl.perl5.porters | Postings from July 2009

Re: [PATCH] Fixed failing test for ExtUtils::CBuilder.

Thread Previous | Thread Next
From:
David Golden
Date:
July 3, 2009 04:17
Subject:
Re: [PATCH] Fixed failing test for ExtUtils::CBuilder.
Message ID:
5d4beb40907030416n7b761160m884e32ac7eb16728@mail.gmail.com
On Fri, Jul 3, 2009 at 1:48 AM, David E. Wheeler<david@kineticode.com> wrote:
> Not sure why this was committed, as it is not platform-specific. The path to
> Perl, which is used to mock `cc`, was wrong, because the test is using
> `$^X`,
> which is `./perl` during the tests, and the test changes away from the
> directory containing `./perl`. Fixed by using `File::Spec->rel2abs` to find
> the full path befor changing any directories.

Thanks.  I'll commit that upstream, re-release and re-patch.

Generally, I've seen $^X always absolute, even when perl is run on a
relative basis.  Is this something specific to some operating systems?
 Or is it a function of perl during core build.

-- David

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About