Subject: | cpan-reporter doesn't load TEST_REQUIRES before running tests |
I have a TEST_REQUIRES section in my Makefile.PL.
Unfortunately, I am getting a fail
from cpantesters viewable at:
http://www.cpantesters.org/cpan/report/8ef926b5-6c04-1014-ace8-5c489752f052
The distribution is for Xporter-0.10.0.
---
The Makefile.PL is below:
----
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
NAME => 'Xporter',
VERSION_FROM => 'lib/Xporter.pm',
AUTHOR => 'LA Walsh (LAWALSH@cpan.org)',
ABSTRACT => "Alt. exporter w/persistent, dflts & auto ISA",
BUILD_REQUIRES=> { 'ExtUtils::MakeMaker' => '6.82', },
TEST_REQUIRES =>
=> { 'Test::Simple' => '0.44', mem => '0.4.5' },
dist => { TAR=> 'tar', TARFLAGS=> "-H v7 -h -cf " },
);
---------------------
Neither 'Test::Simple' nor 'mem' show up as "required" for testing so the test runs with a FAIL status.
It seems a report should not be sent if the REQUIRES are not met (such is true for PM/BUILD REQs)... Is it an oversight that TEST_REQs isn't checked as well?
Thanks!