Skip Menu |

This queue is for tickets about the Hash-MD5 CPAN distribution.

Report information
The Basics
Id: 101584
Status: resolved
Priority: 0/
Queue: Hash-MD5

People
Owner: MZIESCHA [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: t/pod-coverage.t fails
Test suite fails if Test::Pod::Coverage is installed: # Failed test 'Pod coverage on Hash::MD5' # at /opt/perl-5.20.1D/lib/site_perl/5.20.1/Test/Pod/Coverage.pm line 133. # Coverage for Hash::MD5 is 50.0%, with 1 naked subroutine: # sum_array # Looks like you failed 1 test of 1. t/pod-coverage.t ..
On 2015-01-16 23:42:33, SREZIC wrote: Show quoted text
> Test suite fails if Test::Pod::Coverage is installed: > > # Failed test 'Pod coverage on Hash::MD5' > # at /opt/perl-5.20.1D/lib/site_perl/5.20.1/Test/Pod/Coverage.pm line 133. > # Coverage for Hash::MD5 is 50.0%, with 1 naked subroutine: > # sum_array > # Looks like you failed 1 test of 1. > t/pod-coverage.t ..
Please don't allow pod tests to run for normal user installs. Either move them to xt/, or guard them with something like: plan skip_all => "these tests are for authors only!" unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};
Am Sa 17. Jan 2015, 13:06:53, ETHER schrieb: Show quoted text
> On 2015-01-16 23:42:33, SREZIC wrote:
> > Test suite fails if Test::Pod::Coverage is installed: > > > > # Failed test 'Pod coverage on Hash::MD5' > > # at /opt/perl-5.20.1D/lib/site_perl/5.20.1/Test/Pod/Coverage.pm > > line 133. > > # Coverage for Hash::MD5 is 50.0%, with 1 naked subroutine: > > # sum_array > > # Looks like you failed 1 test of 1. > > t/pod-coverage.t ..
> > > Please don't allow pod tests to run for normal user installs. Either > move them to xt/, or guard them with something like: > > plan skip_all => "these tests are for authors only!" unless > $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};
Thanks for the hint, I will note it for the future.
plan( skip_all => "Author tests not required for installation" ) added