summaryrefslogtreecommitdiff
path: root/cpan/ExtUtils-MakeMaker/t
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-09-23 18:27:33 +0100
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-09-23 18:27:33 +0100
commitc6ba15252667d61624481a75c7b61acee4e89cb3 (patch)
treeb814b257d03fa98fc55b7613b51336dacaed01ee /cpan/ExtUtils-MakeMaker/t
parentc7a5ab2295268a0a954737f6575ae246e38faf3f (diff)
downloadperl-c6ba15252667d61624481a75c7b61acee4e89cb3.tar.gz
Update ExtUtils-MakeMaker to CPAN version 6.78
[DELTA] 6.78 Mon Sep 23 13:44:39 BST 2013 No changes from 6.77_08 6.77_08 Sun Sep 22 18:43:23 BST 2013 New feature: * Made UNINST an attribute, so removing shadowed modules can be set 'perl Makefile.PL UNINST=1' 6.77_07 Sat Sep 21 09:44:19 BST 2013 Bug fixes: * do not set default switches in Test::Harness; not even -w 6.77_06 Thu Sep 19 15:36:59 BST 2013 Dist fixes: * Previous tarball was corrupted 6.77_05 Thu Sep 19 14:09:00 BST 2013 Bug fixes: * Fix 3 more tests to work in parallel. Now works with HARNESS_OPTIONS=j64 6.77_04 Wed Sep 18 19:23:38 BST 2013 Bug fixes: * Fixed PERL_SRC for core tests after parallelisation enhancements were made in 6.77_01 6.77_03 Mon Sep 16 12:20:25 BST 2013 VMS fixes: * CCFLAGS may have appendages not from PERL_MM_OPT 6.77_02 Thu Sep 12 21:21:12 BST 2013 Bug fixes: * Support 'perl' as a PREREQ_PM target * RT#77029 Support linefeeds in abstract parsing * Skip some tests when cross-compiling core 6.77_01 Tue Sep 10 15:20:42 BST 2013 Bug fixes: * RT#7248 warn if NAME is not valid package name * Perl#36539 reverse search order for finding perl * parse_version() should work with taint mode now * RT#69590 enable tests to be run in parallel
Diffstat (limited to 'cpan/ExtUtils-MakeMaker/t')
-rw-r--r--cpan/ExtUtils-MakeMaker/t/FIRST_MAKEFILE.t5
-rw-r--r--cpan/ExtUtils-MakeMaker/t/INST.t6
-rw-r--r--cpan/ExtUtils-MakeMaker/t/INSTALL_BASE.t10
-rw-r--r--cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t6
-rw-r--r--cpan/ExtUtils-MakeMaker/t/PL_FILES.t6
-rw-r--r--cpan/ExtUtils-MakeMaker/t/WriteEmptyMakefile.t4
-rw-r--r--cpan/ExtUtils-MakeMaker/t/basic.t9
-rw-r--r--cpan/ExtUtils-MakeMaker/t/build_man.t4
-rw-r--r--cpan/ExtUtils-MakeMaker/t/cd.t5
-rw-r--r--cpan/ExtUtils-MakeMaker/t/dir_target.t5
-rw-r--r--cpan/ExtUtils-MakeMaker/t/echo.t2
-rw-r--r--cpan/ExtUtils-MakeMaker/t/fixin.t5
-rw-r--r--cpan/ExtUtils-MakeMaker/t/hints.t4
-rw-r--r--cpan/ExtUtils-MakeMaker/t/min_perl_version.t6
-rw-r--r--cpan/ExtUtils-MakeMaker/t/miniperl.t4
-rw-r--r--cpan/ExtUtils-MakeMaker/t/parse_abstract.t9
-rw-r--r--cpan/ExtUtils-MakeMaker/t/pm_to_blib.t10
-rw-r--r--cpan/ExtUtils-MakeMaker/t/postamble.t4
-rw-r--r--cpan/ExtUtils-MakeMaker/t/prereq.t4
-rw-r--r--cpan/ExtUtils-MakeMaker/t/prereq_print.t5
-rw-r--r--cpan/ExtUtils-MakeMaker/t/recurs.t10
-rw-r--r--cpan/ExtUtils-MakeMaker/t/several_authors.t6
-rw-r--r--cpan/ExtUtils-MakeMaker/t/writemakefile_args.t6
-rw-r--r--cpan/ExtUtils-MakeMaker/t/xs.t20
24 files changed, 114 insertions, 41 deletions
diff --git a/cpan/ExtUtils-MakeMaker/t/FIRST_MAKEFILE.t b/cpan/ExtUtils-MakeMaker/t/FIRST_MAKEFILE.t
index 71f65f8bd5..9b5269a2d1 100644
--- a/cpan/ExtUtils-MakeMaker/t/FIRST_MAKEFILE.t
+++ b/cpan/ExtUtils-MakeMaker/t/FIRST_MAKEFILE.t
@@ -3,7 +3,10 @@
BEGIN {
unshift @INC, 't/lib';
}
-chdir 't';
+
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use strict;
use Test::More tests => 7;
diff --git a/cpan/ExtUtils-MakeMaker/t/INST.t b/cpan/ExtUtils-MakeMaker/t/INST.t
index 2af5365d8a..d32445dfb1 100644
--- a/cpan/ExtUtils-MakeMaker/t/INST.t
+++ b/cpan/ExtUtils-MakeMaker/t/INST.t
@@ -18,7 +18,9 @@ use File::Spec;
use TieOut;
use Config;
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
@@ -71,7 +73,7 @@ is( !!$mm->{PERL_CORE}, !!$ENV{PERL_CORE}, 'PERL_CORE' );
my($perl_src, $mm_perl_src);
if( $ENV{PERL_CORE} ) {
- $perl_src = File::Spec->catdir($Updir, $Updir, $Updir, $Updir);
+ $perl_src = File::Spec->catdir($Updir, $Updir, $Updir, $Updir, $Updir);
$perl_src = File::Spec->canonpath($perl_src);
$mm_perl_src = File::Spec->canonpath($mm->{PERL_SRC});
}
diff --git a/cpan/ExtUtils-MakeMaker/t/INSTALL_BASE.t b/cpan/ExtUtils-MakeMaker/t/INSTALL_BASE.t
index bd82dbd410..a5e469c823 100644
--- a/cpan/ExtUtils-MakeMaker/t/INSTALL_BASE.t
+++ b/cpan/ExtUtils-MakeMaker/t/INSTALL_BASE.t
@@ -10,7 +10,10 @@ use strict;
use File::Path;
use Config;
-use Test::More tests => 20;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 20);
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::BFD;
@@ -18,7 +21,10 @@ my $Is_VMS = $^O eq 'VMS';
my $perl = which_perl();
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
+
perl_lib;
ok( setup_recurs(), 'setup' );
diff --git a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
index cfcd87fb2b..d9fe9dbf6a 100644
--- a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
+++ b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
@@ -20,7 +20,9 @@ use ExtUtils::MakeMaker::Config;
my $Is_VMS = $^O eq 'VMS';
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
@@ -104,7 +106,7 @@ is( !!$mm->{PERL_CORE}, !!$ENV{PERL_CORE}, 'PERL_CORE' );
my($perl_src, $mm_perl_src);
if( $ENV{PERL_CORE} ) {
- $perl_src = File::Spec->catdir($Updir, $Updir, $Updir, $Updir);
+ $perl_src = File::Spec->catdir($Updir, $Updir, $Updir, $Updir, $Updir);
$perl_src = File::Spec->canonpath($perl_src);
$mm_perl_src = File::Spec->canonpath($mm->{PERL_SRC});
}
diff --git a/cpan/ExtUtils-MakeMaker/t/PL_FILES.t b/cpan/ExtUtils-MakeMaker/t/PL_FILES.t
index 0b9aed320e..ab449dd5b1 100644
--- a/cpan/ExtUtils-MakeMaker/t/PL_FILES.t
+++ b/cpan/ExtUtils-MakeMaker/t/PL_FILES.t
@@ -6,7 +6,11 @@ BEGIN {
chdir 't';
use strict;
-use Test::More tests => 9;
+use Config;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 9);
use File::Spec;
use MakeMaker::Test::Setup::PL_FILES;
diff --git a/cpan/ExtUtils-MakeMaker/t/WriteEmptyMakefile.t b/cpan/ExtUtils-MakeMaker/t/WriteEmptyMakefile.t
index 88496756c2..7a86fa1b66 100644
--- a/cpan/ExtUtils-MakeMaker/t/WriteEmptyMakefile.t
+++ b/cpan/ExtUtils-MakeMaker/t/WriteEmptyMakefile.t
@@ -6,7 +6,9 @@ BEGIN {
unshift @INC, 't/lib';
}
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use strict;
use Test::More tests => 5;
diff --git a/cpan/ExtUtils-MakeMaker/t/basic.t b/cpan/ExtUtils-MakeMaker/t/basic.t
index cecf0e50b8..b74da44fd9 100644
--- a/cpan/ExtUtils-MakeMaker/t/basic.t
+++ b/cpan/ExtUtils-MakeMaker/t/basic.t
@@ -11,17 +11,22 @@ use strict;
use Config;
use ExtUtils::MakeMaker;
-use Test::More tests => 171;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 171);
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::BFD;
use File::Find;
use File::Spec;
use File::Path;
+use File::Temp qw[tempdir];
my $perl = which_perl();
my $Is_VMS = $^O eq 'VMS';
-chdir 't';
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
diff --git a/cpan/ExtUtils-MakeMaker/t/build_man.t b/cpan/ExtUtils-MakeMaker/t/build_man.t
index d4649e7598..47e5f4b684 100644
--- a/cpan/ExtUtils-MakeMaker/t/build_man.t
+++ b/cpan/ExtUtils-MakeMaker/t/build_man.t
@@ -10,6 +10,7 @@ use strict;
use Test::More tests => 9;
use File::Spec;
+use File::Temp qw[tempdir];
use TieOut;
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::BFD;
@@ -21,7 +22,8 @@ use ExtUtils::MakeMaker::Config;
# ensure these tests will still work.
$Config{installman3dir} = 'none';
-chdir 't';
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib();
diff --git a/cpan/ExtUtils-MakeMaker/t/cd.t b/cpan/ExtUtils-MakeMaker/t/cd.t
index 2b30145956..9b9e06435b 100644
--- a/cpan/ExtUtils-MakeMaker/t/cd.t
+++ b/cpan/ExtUtils-MakeMaker/t/cd.t
@@ -3,7 +3,10 @@
BEGIN {
unshift @INC, 't/lib/';
}
-chdir 't';
+
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
my $Is_VMS = $^O eq 'VMS';
diff --git a/cpan/ExtUtils-MakeMaker/t/dir_target.t b/cpan/ExtUtils-MakeMaker/t/dir_target.t
index 6744093de7..5cb8e49108 100644
--- a/cpan/ExtUtils-MakeMaker/t/dir_target.t
+++ b/cpan/ExtUtils-MakeMaker/t/dir_target.t
@@ -1,7 +1,10 @@
#!/usr/bin/perl -w
use lib 't/lib';
-chdir 't';
+
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use Test::More tests => 1;
use ExtUtils::MakeMaker;
diff --git a/cpan/ExtUtils-MakeMaker/t/echo.t b/cpan/ExtUtils-MakeMaker/t/echo.t
index 04fcc4322d..191999d9b1 100644
--- a/cpan/ExtUtils-MakeMaker/t/echo.t
+++ b/cpan/ExtUtils-MakeMaker/t/echo.t
@@ -16,6 +16,8 @@ use Cwd 'abs_path';
use Test::More;
+plan skip_all => "no toolchain installed when cross-compiling"
+ if $ENV{PERL_CORE} && $Config{'usecrosscompile'};
#--------------------- Setup
diff --git a/cpan/ExtUtils-MakeMaker/t/fixin.t b/cpan/ExtUtils-MakeMaker/t/fixin.t
index f8c73e8e36..72c86efbf2 100644
--- a/cpan/ExtUtils-MakeMaker/t/fixin.t
+++ b/cpan/ExtUtils-MakeMaker/t/fixin.t
@@ -6,7 +6,10 @@
BEGIN {
unshift @INC, 't/lib/';
}
-chdir 't';
+
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use File::Spec;
diff --git a/cpan/ExtUtils-MakeMaker/t/hints.t b/cpan/ExtUtils-MakeMaker/t/hints.t
index 19bee553cd..af4d18367a 100644
--- a/cpan/ExtUtils-MakeMaker/t/hints.t
+++ b/cpan/ExtUtils-MakeMaker/t/hints.t
@@ -4,8 +4,10 @@ use strict;
use warnings;
use lib 't/lib';
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use File::Spec;
use Test::More tests => 3;
diff --git a/cpan/ExtUtils-MakeMaker/t/min_perl_version.t b/cpan/ExtUtils-MakeMaker/t/min_perl_version.t
index 5d2ac45e86..a3a4b5afb5 100644
--- a/cpan/ExtUtils-MakeMaker/t/min_perl_version.t
+++ b/cpan/ExtUtils-MakeMaker/t/min_perl_version.t
@@ -8,7 +8,11 @@ BEGIN {
}
use strict;
-use Test::More tests => 32;
+use Config;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 32);
use TieOut;
use MakeMaker::Test::Utils;
diff --git a/cpan/ExtUtils-MakeMaker/t/miniperl.t b/cpan/ExtUtils-MakeMaker/t/miniperl.t
index d3177bebfe..121d731f52 100644
--- a/cpan/ExtUtils-MakeMaker/t/miniperl.t
+++ b/cpan/ExtUtils-MakeMaker/t/miniperl.t
@@ -6,6 +6,7 @@
use strict;
use lib 't/lib';
+use Config;
use Test::More;
# In a BEGIN block so the END tests aren't registered.
@@ -13,6 +14,9 @@ BEGIN {
plan skip_all => "miniperl test only necessary for the perl core"
if !$ENV{PERL_CORE};
+ plan skip_all => "no toolchain installed when cross-compiling"
+ if $ENV{PERL_CORE} && $Config{'usecrosscompile'};
+
plan "no_plan";
}
diff --git a/cpan/ExtUtils-MakeMaker/t/parse_abstract.t b/cpan/ExtUtils-MakeMaker/t/parse_abstract.t
index 5ced676a5e..d9c9b3c55f 100644
--- a/cpan/ExtUtils-MakeMaker/t/parse_abstract.t
+++ b/cpan/ExtUtils-MakeMaker/t/parse_abstract.t
@@ -70,3 +70,12 @@ test_abstract(<<END, "Foo", "the abstract", "more spaces");
Foo - the abstract
END
+
+test_abstract(<<END, "Catalyst::Plugin::Authentication", "Infrastructure plugin for the Catalyst authentication framework.", "contains a line break");
+=pod
+
+=head1 NAME
+
+Catalyst::Plugin::Authentication - Infrastructure plugin for the Catalyst
+authentication framework.
+END
diff --git a/cpan/ExtUtils-MakeMaker/t/pm_to_blib.t b/cpan/ExtUtils-MakeMaker/t/pm_to_blib.t
index 66ef879e4e..b9c5ddff2d 100644
--- a/cpan/ExtUtils-MakeMaker/t/pm_to_blib.t
+++ b/cpan/ExtUtils-MakeMaker/t/pm_to_blib.t
@@ -5,7 +5,12 @@
use strict;
use lib 't/lib';
-use Test::More 'no_plan';
+use Config;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : 'no_plan';
+use File::Temp qw[tempdir];
use ExtUtils::MakeMaker;
@@ -20,7 +25,8 @@ my $make = make_run();
# Setup our test environment
{
- chdir 't';
+ my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+ chdir $tmpdir;
perl_lib;
diff --git a/cpan/ExtUtils-MakeMaker/t/postamble.t b/cpan/ExtUtils-MakeMaker/t/postamble.t
index 711e979e52..28870c24f0 100644
--- a/cpan/ExtUtils-MakeMaker/t/postamble.t
+++ b/cpan/ExtUtils-MakeMaker/t/postamble.t
@@ -13,7 +13,9 @@ use MakeMaker::Test::Setup::BFD;
use ExtUtils::MakeMaker;
use TieOut;
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
$| = 1;
diff --git a/cpan/ExtUtils-MakeMaker/t/prereq.t b/cpan/ExtUtils-MakeMaker/t/prereq.t
index 3149193186..2436888688 100644
--- a/cpan/ExtUtils-MakeMaker/t/prereq.t
+++ b/cpan/ExtUtils-MakeMaker/t/prereq.t
@@ -9,6 +9,7 @@ BEGIN {
use strict;
use Test::More tests => 16;
+use File::Temp qw[tempdir];
use TieOut;
use MakeMaker::Test::Utils;
@@ -16,7 +17,8 @@ use MakeMaker::Test::Setup::BFD;
use ExtUtils::MakeMaker;
-chdir 't';
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib();
diff --git a/cpan/ExtUtils-MakeMaker/t/prereq_print.t b/cpan/ExtUtils-MakeMaker/t/prereq_print.t
index 9170aa0e4e..b6e12ef00f 100644
--- a/cpan/ExtUtils-MakeMaker/t/prereq_print.t
+++ b/cpan/ExtUtils-MakeMaker/t/prereq_print.t
@@ -8,6 +8,7 @@ use strict;
use Config;
use Test::More;
+use File::Temp qw[tempdir];
unless( eval { require Data::Dumper } ) {
plan skip_all => 'Data::Dumper not available';
@@ -27,7 +28,9 @@ my $Perl = which_perl();
my $Makefile = makefile_name();
my $Is_VMS = $^O eq 'VMS';
-chdir 't';
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
+
perl_lib;
$| = 1;
diff --git a/cpan/ExtUtils-MakeMaker/t/recurs.t b/cpan/ExtUtils-MakeMaker/t/recurs.t
index b7c561bc9c..1942370fd0 100644
--- a/cpan/ExtUtils-MakeMaker/t/recurs.t
+++ b/cpan/ExtUtils-MakeMaker/t/recurs.t
@@ -9,7 +9,12 @@ BEGIN {
use strict;
use Config;
-use Test::More tests => 26;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 26);
+use File::Temp qw[tempdir];
+
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::Recurs;
@@ -20,7 +25,8 @@ delete @ENV{qw(PREFIX LIB MAKEFLAGS)};
my $perl = which_perl();
my $Is_VMS = $^O eq 'VMS';
-chdir('t');
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
diff --git a/cpan/ExtUtils-MakeMaker/t/several_authors.t b/cpan/ExtUtils-MakeMaker/t/several_authors.t
index eba35e13a6..98569aee68 100644
--- a/cpan/ExtUtils-MakeMaker/t/several_authors.t
+++ b/cpan/ExtUtils-MakeMaker/t/several_authors.t
@@ -8,7 +8,11 @@ BEGIN {
}
use strict;
-use Test::More tests => 20;
+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;
diff --git a/cpan/ExtUtils-MakeMaker/t/writemakefile_args.t b/cpan/ExtUtils-MakeMaker/t/writemakefile_args.t
index c3133a29bb..0625960c75 100644
--- a/cpan/ExtUtils-MakeMaker/t/writemakefile_args.t
+++ b/cpan/ExtUtils-MakeMaker/t/writemakefile_args.t
@@ -16,7 +16,9 @@ use MakeMaker::Test::Setup::BFD;
use ExtUtils::MakeMaker;
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib();
@@ -247,7 +249,7 @@ VERIFY
VERSION => '1.00',
);
- is( $mm->{CCFLAGS}, "-Wl,-rpath -Wl,/foo/bar/lib", 'parse_args() splits like shell' );
+ like( $mm->{CCFLAGS}, qr{-Wl,-rpath -Wl,/foo/bar/lib}, 'parse_args() splits like shell' );
is_deeply( $mm->{LIBS}, ['-lwibble -lwobble'], 'parse_args() splits like shell' );
}
diff --git a/cpan/ExtUtils-MakeMaker/t/xs.t b/cpan/ExtUtils-MakeMaker/t/xs.t
index 3f9a4df4ba..81127f384d 100644
--- a/cpan/ExtUtils-MakeMaker/t/xs.t
+++ b/cpan/ExtUtils-MakeMaker/t/xs.t
@@ -7,22 +7,16 @@ chdir 't';
use strict;
-use Test::More;
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::XS;
+use Test::More
+ have_compiler()
+ ? (tests => 5)
+ : (skip_all => "ExtUtils::CBuilder not installed or couldn't find a compiler");
use File::Find;
use File::Spec;
use File::Path;
-my $Skipped = 0;
-if( have_compiler() ) {
- plan tests => 5;
-}
-else {
- $Skipped = 1;
- plan skip_all => "ExtUtils::CBuilder not installed or couldn't find a compiler";
-}
-
my $Is_VMS = $^O eq 'VMS';
my $perl = which_perl();
@@ -34,10 +28,8 @@ $| = 1;
ok( setup_xs(), 'setup' );
END {
- unless( $Skipped ) {
- chdir File::Spec->updir or die;
- teardown_xs(), 'teardown' or die;
- }
+ chdir File::Spec->updir or die;
+ teardown_xs(), 'teardown' or die;
}
ok( chdir('XS-Test'), "chdir'd to XS-Test" ) ||