Skip Menu |

This queue is for tickets about the Test-Pod-Coverage CPAN distribution.

Report information
The Basics
Id: 98293
Status: open
Priority: 0/
Queue: Test-Pod-Coverage

People
Owner: Nobody in particular
Requestors: ambs [...] cpan.org
Cc:
AdminCc:

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



Subject: Problem loading file from Sharedir
Hello In my module I have some munged data serialized under a sharedir folder. In the BEGIN block I do something like: our $sharedir = dist_dir('Lingua-Identifier'); our $features = do( catfile($sharedir, "features.dmp")); My test is generated by dzil as: use Test::Pod::Coverage 1.08; use Pod::Coverage::TrustPod; all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); But the tests fail with: xt/release/pod-coverage.t .. 1/4 # Failed test 'Pod coverage on Lingua::Identifier' # at /opt/perl/lib/site_perl/5.20.0/Test/Pod/Coverage.pm line 133. # Lingua::Identifier: Couldn't compile 'Lingua::Identifier' to inspect: Lingua::Identifier- could not load 'features.dmp' at /Users/ambs/Natura/main/Lingua/Lingua-Identifier/.build... Probably the tests are not being run including blib, but lib instead? Cheers Alberto
On 2014-08-24 07:41:15, AMBS wrote: Show quoted text
> Hello > > In my module I have some munged data serialized under a sharedir > folder. In the BEGIN block I do something like:
This is a duplicate of https://rt.cpan.org/Ticket/Display.html?id=85709, I think. It sure would be nice to get this fixed -- I have to remove pod coverage tests from all my dists where I use a sharedir!