This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix failing ExtUtils-CBuilder test
authorDavid Golden <dagolden@cpan.org>
Thu, 9 Dec 2010 02:32:26 +0000 (21:32 -0500)
committerDavid Golden <dagolden@cpan.org>
Thu, 9 Dec 2010 02:32:26 +0000 (21:32 -0500)
The change is also being applied upstream, but this will fix
tests until the next EU::CB release is merged to blead

cpan/ExtUtils-CBuilder/t/04-base.t

index 025b53b..988f7ae 100644 (file)
@@ -70,6 +70,7 @@ isa_ok( $base, 'ExtUtils::CBuilder::Base' );
         );
     }
     else {
         );
     }
     else {
+        local $^X = $path_to_perl = File::Spec->rel2abs($path_to_perl);
         is(
             ExtUtils::CBuilder::Base::find_perl_interpreter(),
             $path_to_perl,
         is(
             ExtUtils::CBuilder::Base::find_perl_interpreter(),
             $path_to_perl,