Skip Menu |

This queue is for tickets about the JDBC CPAN distribution.

Report information
The Basics
Id: 95932
Status: open
Priority: 0/
Queue: JDBC

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

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



Subject: pod coverage test is failing
# Failed test 'Pod coverage on JDBC' # at /opt/perl-5.20.0-RC1/lib/site_perl/5.20.0/Test/Pod/Coverage.pm line 126. # JDBC: requiring 'JDBC' failed # Looks like you failed 1 test of 1. t/pod-coverage.t .. Dubious, test returned 1 (wstat 256, 0x100) Regards, Slaven
Pod coverage tests should not be running for the user. Either move it to xt/, or guard it with: use Test::More; plan skip_all => 'these tests are for authors only' unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};
On 2014-05-24 12:37:34, SREZIC wrote: Show quoted text
> # Failed test 'Pod coverage on JDBC' > # at /opt/perl-5.20.0-RC1/lib/site_perl/5.20.0/Test/Pod/Coverage.pm > line 126. > # JDBC: requiring 'JDBC' failed > # Looks like you failed 1 test of 1. > t/pod-coverage.t .. > Dubious, test returned 1 (wstat 256, 0x100)
Actually it's not a pod coverage problem --- for some reason JDBC cannot be loaded at all. I think it's a taint problem (the pod-coverage.t test turns also -T on): $ perl5.27.2 -T -Mblib -MJDBC -e1 An eval() failed in Inline::glue: Insecure dependency in require while running with -T switch at (eval 3) line 1. at /home/cpansand/.cpan/build/2017072915/JDBC-0.02-0/blib/lib/JDBC.pm line 51. BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017072915/JDBC-0.02-0/blib/lib/JDBC.pm line 51. Compilation failed in require. BEGIN failed--compilation aborted.