This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ExtUtils-MakeMaker to CPAN version 7.02
[perl5.git]
/
cpan
/
ExtUtils-MakeMaker
/
t
/
several_authors.t
diff --git
a/cpan/ExtUtils-MakeMaker/t/several_authors.t
b/cpan/ExtUtils-MakeMaker/t/several_authors.t
index
98569ae
..
4753541
100644
(file)
--- a/
cpan/ExtUtils-MakeMaker/t/several_authors.t
+++ b/
cpan/ExtUtils-MakeMaker/t/several_authors.t
@@
-8,16
+8,18
@@
BEGIN {
}
use strict;
}
use strict;
-use Config;
-use Test::More
- $ENV{PERL_CORE} && $Config{'usecrosscompile'}
- ? (skip_all => "no toolchain installed when cross-compiling")
- : (tests => 20);
use TieOut;
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::SAS;
use TieOut;
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::SAS;
+use Config;
+use Test::More;
+use ExtUtils::MM;
+plan !MM->can_run(make()) && $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "cross-compiling and make not available")
+ : (tests => 20);
use File::Path;
use File::Path;
+use File::Temp qw[tempdir];
use ExtUtils::MakeMaker;
use ExtUtils::MakeMaker;
@@
-28,7
+30,8
@@
my $perl = which_perl();
my $make = make_run();
my $makefile = makefile_name();
my $make = make_run();
my $makefile = makefile_name();
-chdir 't';
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib();
perl_lib();