Skip Menu |

This queue is for tickets about the ExtUtils-Install CPAN distribution.

Report information
The Basics
Id: 88644
Status: resolved
Priority: 0/
Queue: ExtUtils-Install

People
Owner: Nobody in particular
Requestors: PERRAD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: skip some tests when cross-compiling
the toolchain is not installed on the target when cross-compiling. there are no sense to install this module on target, but EUI is a part of Perl distribution. so that fixes the Perl test suite when cross-compiling. (same thing in EUMM, see https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/8a68af92226faa44a548c926bd509ac7c39ee8be)
Subject: perl-cross-EUI.patch
diff --git a/t/InstallWithMM.t b/t/InstallWithMM.t index 354b8f4..1664ccd 100644 --- a/t/InstallWithMM.t +++ b/t/InstallWithMM.t @@ -16,7 +16,10 @@ use strict; use Config; use ExtUtils::MakeMaker; -use Test::More tests => 15; +use Test::More + $ENV{PERL_CORE} && $Config{'usecrosscompile'} + ? (skip_all => "no toolchain installed when cross-compiling") + : (tests => 15); use MakeMaker::Test::Utils; use MakeMaker::Test::Setup::BFD; use File::Find;
add aptch V2
Subject: perl-cross-EUI-V2.patch
diff --git a/t/InstallWithMM.t b/t/InstallWithMM.t index 354b8f4..7414344 100644 --- a/t/InstallWithMM.t +++ b/t/InstallWithMM.t @@ -16,9 +16,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;
Not the right place. Applied in blead, see https://rt.perl.org/Public/Bug/Display.html?id=120615