Subject: | Tests fail if JSON.pm is not installed |
One of my smoker machines reported the following failure:
# Failed test 'use Outthentic::DSL;'
# at t/00.t line 7.
# Tried to use 'Outthentic::DSL'.
# Error: Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /tmpfs/.cpan-build-cpansand/2016043009/Outthentic-DSL-0.1.2-ovaOYa/inc /tmpfs/.cpan-build-cpansand/2016043009/Outthentic-DSL-0.1.2-ovaOYa/blib/lib /tmpfs/.cpan-build-cpansand/2016043009/Outthentic-DSL-0.1.2-ovaOYa/blib/arch /opt/perl-5.23.9t/lib/site_perl/5.23.9/x86_64-linux-thread-multi /opt/perl-5.23.9t/lib/site_perl/5.23.9 /opt/perl-5.23.9t/lib/5.23.9/x86_64-linux-thread-multi /opt/perl-5.23.9t/lib/5.23.9 .) at /tmpfs/.cpan-build-cpansand/2016043009/Outthentic-DSL-0.1.2-ovaOYa/blib/lib/Outthentic/DSL.pm line 13.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016043009/Outthentic-DSL-0.1.2-ovaOYa/blib/lib/Outthentic/DSL.pm line 13.
# Compilation failed in require at t/00.t line 7.
# BEGIN failed--compilation aborted at t/00.t line 7.
Can't locate object method "new" via package "Outthentic::DSL" at t/00.t line 8.
# Looks like you planned 2 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/00.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests