Subject: | Tests fail with recent versions of Log::Any |
Hi,
Thank you for your work on this module. I have found it very useful in a Dancer code base I maintain.
When building Dancer::Logger::LogAny with version 1.04 of Log::Any, released a few days ago, I encounter the test failures pasted below.
Tom
% dzil test
[DZ] building distribution under .build/DLtBubycY1 for installation
[DZ] beginning to build Dancer-Logger-LogAny
[Git::NextVersion] Bumping version from 0.002 to 0.003
[DZ] guessing dist's main_module is lib/Dancer/Logger/LogAny.pm
[@Basic/ExtraTests] rewriting release test xt/release/pod-coverage.t
[@Basic/ExtraTests] rewriting release test xt/release/pod-syntax.t
[DZ] writing Dancer-Logger-LogAny in .build/DLtBubycY1
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Dancer::Logger::LogAny
Writing MYMETA.yml and MYMETA.json
cp lib/Dancer/Logger/LogAny.pm blib/lib/Dancer/Logger/LogAny.pm
PERL_DL_NONLAZY=1 "/home/tom/perl-inst/perl-5.21_20150106/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/logger.t ................ 1/? Can't locate object method "msgs" via package "Log::Any::Proxy" at t/logger.t line 26.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 2.
t/logger.t ................ Dubious, test returned 2 (wstat 512, 0x200)
All 2 subtests passed
t/noconfig.t .............. Log::Any::Proxy::Test requires an 'category' parameter at /home/tom/perl-inst/perl-5.21_20150106/lib/site_perl/5.21.8/Log/Any.pm line 84.
t/noconfig.t .............. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
t/simple.t ................ ok
Test Summary Report
-------------------
t/logger.t (Wstat: 512 Tests: 2 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/noconfig.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=5, Tests=17, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.45 cusr 0.04 csys = 0.53 CPU)
Result: FAIL
Failed 2/5 test programs. 0/17 subtests failed.
make: *** [test_dynamic] Error 255
error running make test