hesco has asked for the wisdom of the Perl Monks concerning the following question:

Hello all:

I never used to have this issue, now two modules in a row are failing the t/pod-coverage.t tests, for no apparent reason, reporting: "couldn't find pod", although it passed the perl -wc test and clearly looks like valid pod. Has anyone else encountered this? Any ideas how to resolve this issue?

For an example of this issue, see:
http://search.cpan.org/~hesco/CMS-JoomlaToDrupal-0.05/

for which I had to remove the pod-coverage.t test from the line up, in order to successfully run the test suite.

Any clues would be appreciated.

-- Hugh Esco

if( $lal && $lol ) { $life++; }

Replies are listed 'Best First'.
Re: pod-coverage.t can't find the POD
by ikegami (Patriarch) on Mar 15, 2009 at 19:29 UTC

    There is no pod-coverage.t in 0.05

    As for pod-coverage.t- (which isn't run by make test), I get no errors.

Re: pod-coverage.t can't find the POD
by Anonymous Monk on Mar 15, 2009 at 23:23 UTC
    pod-coverage is intended for module authors, its safe to ignore test failures. Upgrade Pod::Coverage.
Re: pod-coverage.t can't find the POD
by andreas1234567 (Vicar) on Mar 16, 2009 at 08:15 UTC
    You have to lead the horse to the water:
    CMS-JoomlaToDrupal-0.05$ prove t/pod-coverage.t-.org t/pod-coverage.t-.... # Failed test 'Pod coverage on CMS::JoomlaToDrupal' # at /usr/local/share/perl/5.10.0/Test/Pod/Coverage.pm line 126. # CMS::JoomlaToDrupal: couldn't find pod # Looks like you failed 1 test of 1. t/pod-coverage.t-....dubious + Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay Failed Test Stat Wstat Total Fail List of Failed ---------------------------------------------------------------------- +--------- t/pod-coverage.t-.org 1 256 1 1 1 Failed 1/1 test scripts. 1/1 subtests failed. Files=1, Tests=1, 0 wallclock secs ( 0.08 cusr + 0.03 csys = 0.11 C +PU) Failed 1/1 test programs. 1/1 subtests failed. CMS-JoomlaToDrupal-0.05$ prove t/pod-coverage.t- t/pod-coverage.t-...ok + All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.13 cusr + 0.02 csys = 0.15 C +PU) CMS-JoomlaToDrupal-0.05$ diff t/pod-coverage.t-.org t/pod-coverage.t- 3a4,6 > use File::Spec::Functions qw(catdir); > use lib catdir qw ( blib lib ); >
    --
    No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
      You have to know your tools :)
      $ prove --help|grep -i blib -b, --blib Add 'blib/lib' and 'blib/arch' to the path for + your tests