diff options
author | François Perrad <francois.perrad@gadz.org> | 2013-11-23 01:49:11 +0100 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2013-11-23 01:49:11 +0100 |
commit | 311e7a86faead444a320777010bb5b5464fe5f32 (patch) | |
tree | e6d950d37b73500ddeac726fe46fdfedfbbbc35e /dist | |
parent | 5beb00b04461e0264795d17194866774957fba9b (diff) | |
download | perl-311e7a86faead444a320777010bb5b5464fe5f32.tar.gz |
Skip dist/ExtUtils-Install/t/InstallWithMM.t when cross-compiling.
The toolchain is not installed on the target when cross-compiling.
So, this test must be skipped, see patch below.
(same problem as RT#119769 and RT#120398)
For: RT #120615
Diffstat (limited to 'dist')
-rw-r--r-- | dist/ExtUtils-Install/t/InstallWithMM.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dist/ExtUtils-Install/t/InstallWithMM.t b/dist/ExtUtils-Install/t/InstallWithMM.t index 4b2c439d88..0d58d3c63f 100644 --- a/dist/ExtUtils-Install/t/InstallWithMM.t +++ b/dist/ExtUtils-Install/t/InstallWithMM.t @@ -10,9 +10,13 @@ use strict; use Config; use ExtUtils::MakeMaker; -use Test::More tests => 15; use MakeMaker::Test::Utils; use MakeMaker::Test::Setup::BFD; +use IPC::Cmd qw(can_run); +use Test::More + can_run(make()) + ? (tests => 15) + : (skip_all => "make not available"); use File::Find; use File::Spec; use File::Path; |