diff options
author | David Mitchell <davem@iabyn.com> | 2009-07-10 15:16:14 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2009-07-10 15:17:28 +0100 |
commit | d00e3d8a4128dcffa1eb58ae423543a07d0589f8 (patch) | |
tree | e57e986ffb5708256194ec77faae65e7882718f1 /lib/ExtUtils | |
parent | f4fe2a3055c4c5391e88c0b8759382828195008b (diff) | |
download | perl-d00e3d8a4128dcffa1eb58ae423543a07d0589f8.tar.gz |
ExtUtils::MakeMaker 6.54
Diffstat (limited to 'lib/ExtUtils')
31 files changed, 85 insertions, 28 deletions
diff --git a/lib/ExtUtils/Changes b/lib/ExtUtils/Changes index 88c431e30d..bacd4453d2 100644 --- a/lib/ExtUtils/Changes +++ b/lib/ExtUtils/Changes @@ -1,3 +1,9 @@ +6.54 Tue Jul 7 16:48:22 PDT 2009 + Test Fixes + * Added perl core boilerplate code to a few new tests which were missing + them. + + 6.53_03 Thu Jul 2 14:47:45 PDT 2009 Bug Fixes * You'd get a warning if you had a PREREQ_PM on a module with no $VERSION diff --git a/lib/ExtUtils/Command/MM.pm b/lib/ExtUtils/Command/MM.pm index e13baa9b38..8748d79574 100644 --- a/lib/ExtUtils/Command/MM.pm +++ b/lib/ExtUtils/Command/MM.pm @@ -10,7 +10,7 @@ our @ISA = qw(Exporter); our @EXPORT = qw(test_harness pod2man perllocal_install uninstall warn_if_old_packlist); -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; my $Is_VMS = $^O eq 'VMS'; diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm index 94fb8ef579..ae33db55ce 100644 --- a/lib/ExtUtils/Liblist.pm +++ b/lib/ExtUtils/Liblist.pm @@ -2,7 +2,7 @@ package ExtUtils::Liblist; use strict; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; use File::Spec; require ExtUtils::Liblist::Kid; diff --git a/lib/ExtUtils/Liblist/Kid.pm b/lib/ExtUtils/Liblist/Kid.pm index adb8a48cec..730b4d0885 100644 --- a/lib/ExtUtils/Liblist/Kid.pm +++ b/lib/ExtUtils/Liblist/Kid.pm @@ -9,7 +9,7 @@ use 5.006; # Broken out of MakeMaker from version 4.11 use strict; -our $VERSION = 6.53_03; +our $VERSION = 6.54; use Config; use Cwd 'cwd'; diff --git a/lib/ExtUtils/MM.pm b/lib/ExtUtils/MM.pm index 39e3b4d2ee..d3ff87519f 100644 --- a/lib/ExtUtils/MM.pm +++ b/lib/ExtUtils/MM.pm @@ -3,7 +3,7 @@ package ExtUtils::MM; use strict; use ExtUtils::MakeMaker::Config; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; require ExtUtils::Liblist; require ExtUtils::MakeMaker; diff --git a/lib/ExtUtils/MM_AIX.pm b/lib/ExtUtils/MM_AIX.pm index e0dc53953c..dcfb1713c0 100644 --- a/lib/ExtUtils/MM_AIX.pm +++ b/lib/ExtUtils/MM_AIX.pm @@ -1,7 +1,7 @@ package ExtUtils::MM_AIX; use strict; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; require ExtUtils::MM_Unix; our @ISA = qw(ExtUtils::MM_Unix); diff --git a/lib/ExtUtils/MM_Any.pm b/lib/ExtUtils/MM_Any.pm index 9a971b4ea9..ce723b5d9d 100644 --- a/lib/ExtUtils/MM_Any.pm +++ b/lib/ExtUtils/MM_Any.pm @@ -1,7 +1,7 @@ package ExtUtils::MM_Any; use strict; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; use Carp; use File::Spec; diff --git a/lib/ExtUtils/MM_BeOS.pm b/lib/ExtUtils/MM_BeOS.pm index 1629333efb..3c8978a7bf 100644 --- a/lib/ExtUtils/MM_BeOS.pm +++ b/lib/ExtUtils/MM_BeOS.pm @@ -26,7 +26,7 @@ require ExtUtils::MM_Any; require ExtUtils::MM_Unix; our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; =item os_flavor diff --git a/lib/ExtUtils/MM_Cygwin.pm b/lib/ExtUtils/MM_Cygwin.pm index e57d004db0..79894e2059 100644 --- a/lib/ExtUtils/MM_Cygwin.pm +++ b/lib/ExtUtils/MM_Cygwin.pm @@ -9,7 +9,7 @@ require ExtUtils::MM_Unix; require ExtUtils::MM_Win32; our @ISA = qw( ExtUtils::MM_Unix ); -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; =head1 NAME diff --git a/lib/ExtUtils/MM_DOS.pm b/lib/ExtUtils/MM_DOS.pm index af80bde8ad..fd7f28ebcc 100644 --- a/lib/ExtUtils/MM_DOS.pm +++ b/lib/ExtUtils/MM_DOS.pm @@ -2,7 +2,7 @@ package ExtUtils::MM_DOS; use strict; -our $VERSION = 6.53_03; +our $VERSION = 6.54; require ExtUtils::MM_Any; require ExtUtils::MM_Unix; diff --git a/lib/ExtUtils/MM_Darwin.pm b/lib/ExtUtils/MM_Darwin.pm index b3a90a074e..39d469e1d2 100644 --- a/lib/ExtUtils/MM_Darwin.pm +++ b/lib/ExtUtils/MM_Darwin.pm @@ -7,7 +7,7 @@ BEGIN { our @ISA = qw( ExtUtils::MM_Unix ); } -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; =head1 NAME diff --git a/lib/ExtUtils/MM_MacOS.pm b/lib/ExtUtils/MM_MacOS.pm index 3e429986ce..54b656e1f7 100644 --- a/lib/ExtUtils/MM_MacOS.pm +++ b/lib/ExtUtils/MM_MacOS.pm @@ -2,7 +2,7 @@ package ExtUtils::MM_MacOS; use strict; -our $VERSION = 6.53_03; +our $VERSION = 6.54; sub new { die <<'UNSUPPORTED'; diff --git a/lib/ExtUtils/MM_NW5.pm b/lib/ExtUtils/MM_NW5.pm index 6efd4a4be5..536959a1b2 100644 --- a/lib/ExtUtils/MM_NW5.pm +++ b/lib/ExtUtils/MM_NW5.pm @@ -22,7 +22,7 @@ use strict; use ExtUtils::MakeMaker::Config; use File::Basename; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; require ExtUtils::MM_Win32; our @ISA = qw(ExtUtils::MM_Win32); diff --git a/lib/ExtUtils/MM_OS2.pm b/lib/ExtUtils/MM_OS2.pm index 6b780a7523..183c8b403c 100644 --- a/lib/ExtUtils/MM_OS2.pm +++ b/lib/ExtUtils/MM_OS2.pm @@ -5,7 +5,7 @@ use strict; use ExtUtils::MakeMaker qw(neatvalue); use File::Spec; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; require ExtUtils::MM_Any; require ExtUtils::MM_Unix; diff --git a/lib/ExtUtils/MM_QNX.pm b/lib/ExtUtils/MM_QNX.pm index bd97c3a6dd..190e3cab0a 100644 --- a/lib/ExtUtils/MM_QNX.pm +++ b/lib/ExtUtils/MM_QNX.pm @@ -1,7 +1,7 @@ package ExtUtils::MM_QNX; use strict; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; require ExtUtils::MM_Unix; our @ISA = qw(ExtUtils::MM_Unix); diff --git a/lib/ExtUtils/MM_UWIN.pm b/lib/ExtUtils/MM_UWIN.pm index ea59ef5a7a..f5c2f5091f 100644 --- a/lib/ExtUtils/MM_UWIN.pm +++ b/lib/ExtUtils/MM_UWIN.pm @@ -1,7 +1,7 @@ package ExtUtils::MM_UWIN; use strict; -our $VERSION = 6.53_03; +our $VERSION = 6.54; require ExtUtils::MM_Unix; our @ISA = qw(ExtUtils::MM_Unix); diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 59a612a05b..81dc41b766 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -15,7 +15,7 @@ use ExtUtils::MakeMaker qw($Verbose neatvalue); # If we make $VERSION an our variable parse_version() breaks use vars qw($VERSION); -$VERSION = '6.53_03'; +$VERSION = '6.54'; require ExtUtils::MM_Any; our @ISA = qw(ExtUtils::MM_Any); diff --git a/lib/ExtUtils/MM_VMS.pm b/lib/ExtUtils/MM_VMS.pm index f524b2b4bf..96b8a97986 100644 --- a/lib/ExtUtils/MM_VMS.pm +++ b/lib/ExtUtils/MM_VMS.pm @@ -15,7 +15,7 @@ BEGIN { use File::Basename; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; require ExtUtils::MM_Any; require ExtUtils::MM_Unix; diff --git a/lib/ExtUtils/MM_VOS.pm b/lib/ExtUtils/MM_VOS.pm index af703ebb87..b09b954be7 100644 --- a/lib/ExtUtils/MM_VOS.pm +++ b/lib/ExtUtils/MM_VOS.pm @@ -1,7 +1,7 @@ package ExtUtils::MM_VOS; use strict; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; require ExtUtils::MM_Unix; our @ISA = qw(ExtUtils::MM_Unix); diff --git a/lib/ExtUtils/MM_Win32.pm b/lib/ExtUtils/MM_Win32.pm index 5e5aaf2bc4..bd5f15b273 100644 --- a/lib/ExtUtils/MM_Win32.pm +++ b/lib/ExtUtils/MM_Win32.pm @@ -27,7 +27,7 @@ use ExtUtils::MakeMaker qw( neatvalue ); require ExtUtils::MM_Any; require ExtUtils::MM_Unix; our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; $ENV{EMXSHELL} = 'sh'; # to run `commands` diff --git a/lib/ExtUtils/MM_Win95.pm b/lib/ExtUtils/MM_Win95.pm index 52bfca4132..fc1be2415a 100644 --- a/lib/ExtUtils/MM_Win95.pm +++ b/lib/ExtUtils/MM_Win95.pm @@ -2,7 +2,7 @@ package ExtUtils::MM_Win95; use strict; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; require ExtUtils::MM_Win32; our @ISA = qw(ExtUtils::MM_Win32); diff --git a/lib/ExtUtils/MY.pm b/lib/ExtUtils/MY.pm index 5d14b3e189..e38e404d02 100644 --- a/lib/ExtUtils/MY.pm +++ b/lib/ExtUtils/MY.pm @@ -3,7 +3,7 @@ package ExtUtils::MY; use strict; require ExtUtils::MM; -our $VERSION = 6.53_03; +our $VERSION = 6.54; our @ISA = qw(ExtUtils::MM); { diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index 2d140be1b5..9b021e1a79 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -18,7 +18,7 @@ our @Overridable; my @Prepend_parent; my %Recognized_Att_Keys; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; # Emulate something resembling CVS $Revision$ (our $Revision = $VERSION) =~ s{_}{}; diff --git a/lib/ExtUtils/MakeMaker/Config.pm b/lib/ExtUtils/MakeMaker/Config.pm index fc028ba6dc..5b58ab3886 100644 --- a/lib/ExtUtils/MakeMaker/Config.pm +++ b/lib/ExtUtils/MakeMaker/Config.pm @@ -2,7 +2,7 @@ package ExtUtils::MakeMaker::Config; use strict; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; use Config (); diff --git a/lib/ExtUtils/Mkbootstrap.pm b/lib/ExtUtils/Mkbootstrap.pm index 568493494b..37e24047d4 100644 --- a/lib/ExtUtils/Mkbootstrap.pm +++ b/lib/ExtUtils/Mkbootstrap.pm @@ -3,7 +3,7 @@ package ExtUtils::Mkbootstrap; # There's just too much Dynaloader incest here to turn on strict vars. use strict 'refs'; -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; require Exporter; our @ISA = ('Exporter'); diff --git a/lib/ExtUtils/Mksymlists.pm b/lib/ExtUtils/Mksymlists.pm index f9d517c20b..ce57289e2d 100644 --- a/lib/ExtUtils/Mksymlists.pm +++ b/lib/ExtUtils/Mksymlists.pm @@ -10,7 +10,7 @@ use Config; our @ISA = qw(Exporter); our @EXPORT = qw(&Mksymlists); -our $VERSION = '6.53_03'; +our $VERSION = '6.54'; sub Mksymlists { my(%spec) = @_; diff --git a/lib/ExtUtils/t/fix_libs.t b/lib/ExtUtils/t/fix_libs.t index c683fc5571..2a9bf0cf46 100644 --- a/lib/ExtUtils/t/fix_libs.t +++ b/lib/ExtUtils/t/fix_libs.t @@ -2,8 +2,16 @@ # Unit test the code which fixes up $self->{LIBS} +BEGIN { + chdir 't' if -d 't'; + + if( $ENV{PERL_CORE} ) { + @INC = '../lib'; + } +} + use strict; -use lib 't/lib'; +use lib './lib'; use Test::More 'no_plan'; use ExtUtils::MakeMaker; diff --git a/lib/ExtUtils/t/installed_file.t b/lib/ExtUtils/t/installed_file.t index ebb6585528..c2dfce734a 100644 --- a/lib/ExtUtils/t/installed_file.t +++ b/lib/ExtUtils/t/installed_file.t @@ -2,10 +2,18 @@ # Test MM->_installed_file_for_module() +BEGIN { + chdir 't' if -d 't'; + + if( $ENV{PERL_CORE} ) { + @INC = '../lib'; + } +} + use strict; use warnings; -use lib 't/lib'; +use lib './lib'; use ExtUtils::MakeMaker; use Test::More; use File::Spec; diff --git a/lib/ExtUtils/t/is_of_type.t b/lib/ExtUtils/t/is_of_type.t index d123ee34fd..8a95d0d6a0 100644 --- a/lib/ExtUtils/t/is_of_type.t +++ b/lib/ExtUtils/t/is_of_type.t @@ -2,6 +2,15 @@ # Test _is_of_type() +BEGIN { + chdir 't' if -d 't'; + + if( $ENV{PERL_CORE} ) { + @INC = '../lib'; + } +} + +use lib './lib'; use strict; use ExtUtils::MakeMaker; diff --git a/lib/ExtUtils/t/test_boilerplate.t b/lib/ExtUtils/t/test_boilerplate.t new file mode 100644 index 0000000000..899ad57508 --- /dev/null +++ b/lib/ExtUtils/t/test_boilerplate.t @@ -0,0 +1,26 @@ +#!/usr/bin/perl -w + +# <<<Fill in with what this test does.>>> +# Copy this when writing new tests to avoid forgetting the core boilerplate + +# Magic for core +BEGIN { + # Always run in t to unify behavor with core + chdir 't' if -d 't'; + + # Only use the about to be installed modules + if( $ENV{PERL_CORE} ) { + @INC = '../lib'; + } +} + +# Use things from t/lib/ +use lib './lib'; +use strict; +use ExtUtils::MakeMaker; + +use Test::More; + +pass("Your test code goes here"); + +done_testing(); diff --git a/lib/ExtUtils/testlib.pm b/lib/ExtUtils/testlib.pm index ab0ab8977a..0af41d2975 100644 --- a/lib/ExtUtils/testlib.pm +++ b/lib/ExtUtils/testlib.pm @@ -3,7 +3,7 @@ package ExtUtils::testlib; use strict; use warnings; -our $VERSION = 6.53_03; +our $VERSION = 6.54; use Cwd; use File::Spec; |