Skip Menu |

This queue is for tickets about the Dancer-Logger-LogAny CPAN distribution.

Report information
The Basics
Id: 101347
Status: resolved
Priority: 0/
Queue: Dancer-Logger-LogAny

People
Owner: MDORMAN [...] cpan.org
Requestors: tom [...] eborcom.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.003



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
I have submitted a pull request to fix this: https://github.com/mdorman/Dancer-Logger-LogAny/pull/4
From: mdorman [...] ironicdesign.com
I've merged your change and pushed a new release to CPAN. Thanks for doing this---I was going to try and get to it this weekend, but it would have taken me some effort to get an appropriate dev environment up, so this was a huge timesaver, and perhaps helped avoid stalling the fix.
RT-Send-CC: mdorman [...] ironicdesign.com
The patch I submitted has been released.