In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/2f81e8f3910ca00e129de843e034fb70a0bcc905?hp=17148a1aa5fa357fd3e5850baca9d6eae778d7b9>

- Log -----------------------------------------------------------------
commit 2f81e8f3910ca00e129de843e034fb70a0bcc905
Author: Craig A. Berry <[email protected]>
Date:   Fri Apr 15 16:31:42 2011 -0500

    Give EU::CB 04-base.t an absolute path on VMS.
    
    catfile() with an empty string as a first argument does *not*
    produce an absolute path on VMS (and probably only does so by
    accident elsewhere).  For purposes of the test, it seems that
    any absolute path would do, so this could probably be done
    portably, but on the eve of 5.14 let's make a separate code
    path for VMS and leave everyone else as is for now.

M       dist/ExtUtils-CBuilder/t/04-base.t

commit b49fc163d0d3e37775be321435b6ac31e4188097
Author: Craig A. Berry <[email protected]>
Date:   Fri Apr 15 16:20:48 2011 -0500

    IPC::Open3 needs porting to work on VMS.
    
    So skip the test for now.  Something like the Win32 mechanism
    spawn_with_handles() may be workable but needs investigation.

M       ext/IPC-Open3/t/fd.t

commit d4e61d91175f056c71693f8f47149472d0f4c18d
Author: Craig A. Berry <[email protected]>
Date:   Sun Apr 3 08:10:43 2011 -0500

    Don't copy all of %ENV in prereq.t.
    
    It's sufficient for purposes of enabling prerequisite warnings to
    set a localized $ENV{PERL_CORE} to undef rather than making a local
    copy of the entire %ENV hash.  This makes the test pass on VMS,
    where copying %ENV in toto is not supported.
    
    This fixes a smoke failure, so borrow it from upstream, where it's
    already released as part of MM 6.57_10.  6.58 will contain an
    additional tweak that works with Perl 5.6, but no need to worry
    about that here.

M       cpan/ExtUtils-MakeMaker/t/prereq.t
-----------------------------------------------------------------------

Summary of changes:
 cpan/ExtUtils-MakeMaker/t/prereq.t |    5 ++---
 dist/ExtUtils-CBuilder/t/04-base.t |    4 +++-
 ext/IPC-Open3/t/fd.t               |    4 ++++
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/cpan/ExtUtils-MakeMaker/t/prereq.t 
b/cpan/ExtUtils-MakeMaker/t/prereq.t
index 13e354a..094fee7 100644
--- a/cpan/ExtUtils-MakeMaker/t/prereq.t
+++ b/cpan/ExtUtils-MakeMaker/t/prereq.t
@@ -35,9 +35,8 @@ ok( chdir 'Big-Dummy', "chdir'd to Big-Dummy" ) ||
     local $SIG{__WARN__} = sub {
         $warnings .= join '', @_;
     };
-    # prerequisite warnings are disbled while building the perl core:
-    local %ENV = %ENV;
-    delete $ENV{PERL_CORE};
+    # prerequisite warnings are disabled while building the perl core:
+    local $ENV{PERL_CORE} = undef;
 
     WriteMakefile(
         NAME            => 'Big::Dummy',
diff --git a/dist/ExtUtils-CBuilder/t/04-base.t 
b/dist/ExtUtils-CBuilder/t/04-base.t
index c3bf6b5..db0ef98 100644
--- a/dist/ExtUtils-CBuilder/t/04-base.t
+++ b/dist/ExtUtils-CBuilder/t/04-base.t
@@ -45,7 +45,9 @@ isa_ok( $base, 'ExtUtils::CBuilder::Base' );
 }
 
 {
-    my $path_to_perl = File::Spec->catfile( '', qw| usr bin perl | );
+    my $path_to_perl = $^O eq 'VMS' 
+                       ? 'perl_root:[000000]perl.exe' 
+                       : File::Spec->catfile( '', qw| usr bin perl | );
     local $^X = $path_to_perl;
     is(
         ExtUtils::CBuilder::Base::find_perl_interpreter(),
diff --git a/ext/IPC-Open3/t/fd.t b/ext/IPC-Open3/t/fd.t
index ecb677d..7d4295e 100644
--- a/ext/IPC-Open3/t/fd.t
+++ b/ext/IPC-Open3/t/fd.t
@@ -5,6 +5,10 @@ BEGIN {
        print "1..0 # Skip: not perlio\n";
        exit 0;
     }
+    if ($^O eq 'VMS') {
+        print "1..0 # Skip: needs porting, perhaps imitating Win32 
mechanisms\n";
+       exit 0;
+    }
     require "../../t/test.pl";
 }
 use strict;

--
Perl5 Master Repository

Reply via email to