Subject: | EU::MM fails to pull in TEST_REQUIRES dependency |
I received a failed cpantesters report yesterday:
http://cpantesters.org/cpan/report/67070848-e1c6-11e2-b19d-d133bd4386c1
PERL_DL_NONLAZY=1 /home/perl0/perl5/perlbrew/perls/perl-5.12.5/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
...
The error message reads:
# Failed test 'require Test::Differences;'
# at t/000-report-versions.t line 441.
# Tried to require 'Test::Differences'.
# Error: Can't locate Test/Differences.pm in @INC
To me, this looks like a bug in EU:MM, as the requirement for Test::Differences is stated in the Makefile.PL created by Dist::Zilla:
https://metacpan.org/source/GORTAN/Acme-CPANAuthors-Austrian-1.131810/Makefile.PL
So I would expect the Makefile.PL to pull in the depencency before running the tests...