Subject: | Undeclared dependency Devel::Hook |
Tests fail if Devel::Hook is not installed:
...
# Failed test 'use MOP::Class;'
# at t/001-examples/001-point.t line 10.
# Tried to use 'MOP::Class'.
# Error: Can't locate Devel/Hook.pm in @INC (you may need to install the Devel::Hook module) (@INC contains: /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/arch /usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd /usr/perl5.18.4p/lib/site_perl/5.18.4 /usr/perl5.18.4p/lib/5.18.4/amd64-freebsd /usr/perl5.18.4p/lib/5.18.4 .) at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Internal/Util.pm line 14.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Internal/Util.pm line 14.
# Compilation failed in require at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Method.pm line 14.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Method.pm line 14.
# Compilation failed in require at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Role.pm line 11.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Role.pm line 11.
# Compilation failed in require at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Class.pm line 12.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Class.pm line 12.
# Compilation failed in require at t/001-examples/001-point.t line 10.
# BEGIN failed--compilation aborted at t/001-examples/001-point.t line 10.
# No tests run!
# Failed test 'No tests run for subtest "... test Point"'
# at t/001-examples/001-point.t line 177.
# Looks like you failed 1 test of 1.
# Failed test '... meta test'
# at t/001-examples/001-point.t line 179.
Can't locate object method "new" via package "MOP::Class" at t/001-examples/001-point.t line 158.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 4.
...