Subject: | Undeclared dependency File::Slurp |
The test suite fails if File::Slurp is not installed. Excerpt of test log:
...
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Bailout called. Further testing stopped:
# Failed test 'use Net::Compare;'
# at t/00-load.t line 10.
# Tried to use 'Net::Compare'.
# Error: Can't locate File/Slurp.pm in @INC (you may need to install the File::Slurp module) (@INC contains: /home/cpansand/.cpan/build/2019122614/Net-Compare-0.02-yhjF5Y/blib/lib /home/cpansand/.cpan/build/2019122614/Net-Compare-0.02-yhjF5Y/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /home/cpansand/.cpan/build/2019122614/Net-Compare-0.02-yhjF5Y/blib/lib/Net/Compare.pm line 5.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019122614/Net-Compare-0.02-yhjF5Y/blib/lib/Net/Compare.pm line 5.
# Compilation failed in require at t/00-load.t line 10.
# BEGIN failed--compilation aborted at t/00-load.t line 10.
Use of uninitialized value $Net::Compare::VERSION in concatenation (.) or string at t/00-load.t line 13.
# Testing Net::Compare , Perl 5.022001, /usr/bin/perl
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
Makefile:814: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 1
...