Subject: | testcover may fail if default Perl is not the Perl the module was built under |
Under Module::Build 0.4205, the testcover module simply spawns 'cover' to analyze the data generated during the test. If the default Perl is different than the one that Build.PL was run under, the analysis may fail.
The attached patch is one way to address the problem.
I have marked this unimportant because the workaround is so simple.
Subject: | Module-Build-Base.patch |
--- lib/Module/Build/Base.old 2014-02-09 11:55:02.000000000 -0500
+++ lib/Module/Build/Base.pm 2014-06-29 12:25:54.000000000 -0400
@@ -2808,7 +2808,7 @@
local $ENV{HARNESS_PERL_SWITCHES} = "-MDevel::Cover";
$self->depends_on('test');
- $self->do_system('cover');
+ $self->do_system($self->{properties}{perl}, '-S', 'cover');
}
sub ACTION_code {