Closed p5pRT closed 10 years ago
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)
[PATCH] skip dist/ExtUtils-Install/t/InstallWithMM.t when cross-compiling
Signed-off-by: Francois Perrad \francois\.perrad@​gadz\.org
diff --git a/dist/ExtUtils-Install/t/InstallWithMM.t b/dist/ExtUtils-Install/t/InstallWithMM.t index 4b2c439..0d58d3c 100644 --- a/dist/ExtUtils-Install/t/InstallWithMM.t +++ b/dist/ExtUtils-Install/t/InstallWithMM.t @@ -10\,9 +10\,13 @@ 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;
On Fri Nov 22 07:46:04 2013\, fperrad wrote:
This is a bug report for perl from francois.perrad@gadz.org\, generated with the help of perlbug 1.39 running under perl 5.18.1.
----------------------------------------------------------------- [Please describe your issue here]
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)
[PATCH] skip dist/ExtUtils-Install/t/InstallWithMM.t when cross- compiling
Signed-off-by: Francois Perrad \francois\.perrad@​gadz\.org
diff --git a/dist/ExtUtils-Install/t/InstallWithMM.t b/dist/ExtUtils-Install/t/InstallWithMM.t index 4b2c439..0d58d3c 100644 --- a/dist/ExtUtils-Install/t/InstallWithMM.t +++ b/dist/ExtUtils-Install/t/InstallWithMM.t @@ -10\,9 +10\,13 @@ 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;
Applied in commit 311e7a86faead444a320777010bb5b5464fe5f32. Keep those patches coming\, François!
The RT System itself - Status changed from 'new' to 'open'
@jkeenan - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#120615 (status was 'resolved')
Searchable as RT120615$