diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-03-26 14:39:02 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-03-26 14:39:02 +0000 |
commit | fc833dfd81cd6e92f06c5ff246eeff2a33cdd6e6 (patch) | |
tree | 13321f269b9371b51c47d46b627e36a53241831c | |
parent | 4d3e0127a2d4cba9155a3adf783f3f39a7a22be6 (diff) | |
download | perl-fc833dfd81cd6e92f06c5ff246eeff2a33cdd6e6.tar.gz |
make_ext.pl's automatic Makefile.PL generation can write a suitalbe Makfile.PL
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | ext/Test-Harness/Makefile.PL | 49 |
2 files changed, 0 insertions, 50 deletions
@@ -1233,7 +1233,6 @@ ext/Test-Harness/lib/TAP/Parser/Utils.pm A parser for Test Anything Protocol ext/Test-Harness/lib/TAP/Parser/YAMLish/Reader.pm A parser for Test Anything Protocol ext/Test-Harness/lib/TAP/Parser/YAMLish/Writer.pm A parser for Test Anything Protocol ext/Test-Harness/lib/Test/Harness.pm A test harness -ext/Test-Harness/Makefile.PL Makefile.PL for Test::Harness ext/Test-Harness/t/000-load.t Test::Harness test ext/Test-Harness/t/aggregator.t Test::Harness test ext/Test-Harness/t/bailout.t Test::Harness test diff --git a/ext/Test-Harness/Makefile.PL b/ext/Test-Harness/Makefile.PL deleted file mode 100644 index 6bc533cde6..0000000000 --- a/ext/Test-Harness/Makefile.PL +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/perl -w - -# This Makefile.PL is provided for installation compatibility. -# Extra developer actions are in the Build.PL. - -use ExtUtils::MakeMaker qw/WriteMakefile prompt/; - -use strict; - -my $core = grep { $_ eq 'PERL_CORE=1' } @ARGV; - -my %mm_args = ( - 'NAME' => 'Test::Harness', - 'VERSION_FROM' => 'lib/Test/Harness.pm', - 'PREREQ_PM' => { - 'File::Spec' => 0.8, - }, - 'INSTALLDIRS' => 'perl', - 'PL_FILES' => {}, - 'test' => { 'TESTS' => 't/*.t t/compat/*.t' }, - - # In the core pods will be built by installman, and prove found by - # utils/prove.PL - $core - ? ( 'MAN3PODS' => {} ) - : ( 'EXE_FILES' => ['bin/prove'], - ), -); - -{ - local $^W = 0; # Silence warning about non-numeric version - if ( $ExtUtils::MakeMaker::VERSION >= '6.31' ) { - $mm_args{LICENSE} = 'perl'; - } -} - -WriteMakefile(%mm_args); - -package MY; - -# Lifted from MM_Any.pm and modified so that make test tests against our -# own code rather than the incumbent. If we don't do this we end up -# loading a confused mixture of installed and new modules. -sub test_via_harness { - my ( $self, $perl, $tests ) = @_; - - return $self->SUPER::test_via_harness( - qq{$perl "-I\$(INST_LIB)" "-I\$(INST_ARCHLIB)"}, $tests ); -} |