On Jan 5, 2007, at 1:25 PM, Eric Wilhelm wrote:

Can anyone see what I'm doing wrong, or should we add to @INC in
ACTION_testpodcoverage?

I get the same results if I take M::B out of the equation, and adding blib/* to @INC solves it.

=================================

[~/.cpan/build/dotReader-v0.0.9] ken% perl Build.PL

[~/.cpan/build/dotReader-v0.0.9] ken% ./Build docs

[~/.cpan/build/dotReader-v0.0.9] ken% perl -MTest::Pod::Coverage -le 'Test::Builder->new->plan(tests=>1); pod_coverage_ok ("dtRdr::Search::Book", {}, "")'
1..1
not ok 1 -
#   Failed test ''
#   in -e at line 1.
# dtRdr::Search::Book: couldn't find pod
# Looks like you failed 1 test of 1.


[~/.cpan/build/dotReader-v0.0.9] ken% perl -Mblib - MTest::Pod::Coverage -le 'Test::Builder->new->plan(tests=>1); pod_coverage_ok("dtRdr::Search::Book", {}, "")'
1..1
ok 1 -

=================================

I think the problem may be that while Test::Pod::Coverage::all_modules () looks for things in blib/, Test::Pod::Coverage::pod_coverage_ok() doesn't.

 -Ken

Reply via email to