Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Archive-Any CPAN distribution.

Report information
The Basics
Id: 24236
Status: resolved
Priority: 0/
Queue: Archive-Any

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

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



Subject: POD coverage tests failing without Test::POD::Coverage installed!
Please have a look at the POD coverage tests: http://search.cpan.org/src/CMOORE/Archive-Any-0.093/t/pod-coverage.t The "plan skipall" doesn't help if you "use" Test::Pod::Coverage. If Test::Pod::Coverage isn't installed, this test will fail! (not be skipped) Instead, you could do "eval {use Test::Pod::Coverage ...}; if (not $@) {#tests..." or something similar. Cheers, Steffen
cpantesters have info about failures: http://cpantesters.perl.org/show/Archive-Any.html -- Alexandr Ciornii, http://chorny.net
Dear Clint Moore, Hi. This is imacat from Taiwan. I confirmed this issue with Archive-Any-0.093. In fact, in t/pod-coverage.t, the eval() was never run due to fail at the compile time, as it "use Test::Pod::Coverage tests => 2". Refer to: http://perldoc.perl.org/functions/use.html http://perldoc.perl.org/perlmod.html#BEGIN%2c-UNITCHECK%2c-CHECK%2c-INIT-and-END I would suggest you to remove that use(), since the eval() does the same work. I tried to make a patch against Archive-Any-0.093, in the hope that it helps. Please tell me if you need any more information, or if I could be of any help. Thank you.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r Archive-Any-0.093.orig/t/pod-coverage.t Archive-Any-0.093/t/pod-coverage.t - --- Archive-Any-0.093.orig/t/pod-coverage.t 2006-09-06 11:31:51.000000000 +0800 +++ Archive-Any-0.093/t/pod-coverage.t 2008-04-13 03:34:19.000000000 +0800 @@ -4,6 +4,6 @@ eval "use Test::Pod::Coverage"; plan skip_all => "Test::Pod::Coverage required for testing POD" if $@; - -use Test::Pod::Coverage tests => 2; +plan tests => 2; pod_coverage_ok( "Archive::Any", "Pod documentation coverage" ); pod_coverage_ok( "Archive::Any::Plugin", "Plugin documentation coverage" ); -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkgBDuMACgkQi9gubzC5S1w+sgCeIRAJ9TcmcWMoqE1xZix2jj0M 7VAAnjDg5pELp0lvZBd0UYIXakzDS+4J =vOMm -----END PGP SIGNATURE-----
From: ambs [...] cpan.org
Same problem here. Please fix it ASAP :(
From: hydo [...] mac.com
I am working on this today and will have a new version up for testing in a few hours.
From: hydo [...] mac.com
On Wed Apr 23 14:34:40 2008, hydo wrote: Show quoted text
> I am working on this today and will have a new version up for testing in > a few hours.
Ok, a new version is up. I uncharacteristically resisted the temptation to add any new features so it's just a fix for the POD problem.
From: hydo [...] mac.com
On Fri Jan 05 10:27:38 2007, SMUELLER wrote: Show quoted text
> Please have a look at the POD coverage tests: > > http://search.cpan.org/src/CMOORE/Archive-Any-0.093/t/pod-coverage.t > > The "plan skipall" doesn't help if you "use" Test::Pod::Coverage. If > Test::Pod::Coverage isn't installed, this test will fail! (not be skipped) > > Instead, you could do "eval {use Test::Pod::Coverage ...}; if (not $@) > {#tests..." or something similar. > > Cheers, > Steffen
Ok, a new version is up, 0.932 that doesn't have the osx resource forks in it, nor a few other things.