Subject: | Installation of SQL::Abstract fails because of failing test in Class::Method::Modifiers |
Date: | Sun, 13 Sep 2015 17:16:49 +0200 |
To: | bug-Class-Method-Modifiers [...] rt.cpan.org |
From: | Krasimir Berov <k.berov [...] gmail.com> |
Hello sirs,
When installing SQL::Abstract
(or any module not mentioning Moose as dependency, including
Class::Method::Modifiers)
the installation fails because of the following error:
Bailout called. Further testing stopped: Test requires module 'Moose'
but it's not found
FAILED--Further testing stopped: Test requires module 'Moose' but it's not
found
make: *** [test_dynamic] Error 255
After cloning the repo and running the tests using prove,
I found that the failing test is : t/110-namespace-clean.t
This may well be a bug in Test::Requires, I did not went further.
My quick and dirty fix was:
eval { require Moose; } || plan skip_all =>'Moose required for these
tests!';
Regards,
Krasimir Berov - BEROV (berov@cpan.org)