Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 21563
Status: resolved
Priority: 0/
Queue: Test-Pod

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

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



Subject: Breaks on 5.00504 just because of 'use warnings'
t/00-load..............Can't locate warnings.pm in @INC (@INC contains: /home/k/.cpan/build/Test-Pod-1.26/blib/lib /home/k/.cpan/build/Test-Pod-1.26/blib/arch /usr/local/perl-5.005_04/lib/5.00504/i686-linux /usr/local/perl-5.005_04/lib/5.00504 /usr/local/perl-5.005_04/lib/site_perl/5.005/i686-linux /usr/local/perl-5.005_04/lib/site_perl/5.005) at t/00-load.t line 3. BEGIN failed--compilation aborted at t/00-load.t line 3. t/00-load..............dubious Test returned status 2 (wstat 512, 0x200) t/all_pod_files........ok t/cut-outside-block....ok t/good.................ok t/item-ordering........ok t/load.................ok t/missing-file.........ok t/pod..................ok t/selftest.............ok t/spaced-directives....skipped all skipped: Not written yet t/unknown-directive....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/00-load.t 2 512 ?? ?? % ?? I rate this as Unimportant but it IS sloppy to not test with 5.005, isn't it?
Subject: [rt.cpan.org #21563] Breaks on 5.00504 just because of 'use warnings'
Date: Sun, 13 Apr 2008 16:07:39 -0300
To: bug-test-pod <bug-Test-Pod [...] rt.cpan.org>, "Andy Lester" <andy [...] petdance.com>
From: "Adriano Ferreira" <a.r.ferreira [...] gmail.com>
As pointed out by Andreas, the current Test-Pod dist breaks on 5.005 just because of 'use warnings' and they only happen at test 't/00-load.t'. The attached patch gets rid of this "use warnings;" and: (1) gets rid of "t/load.t" as well (because it is the same as 't/00-load.t' but without the diag message about the Test::Pod version/perl version and path. (2) replaces "use warnings;" by 'print "hello\n"' in the POD sample t/cut-outside-block.pod only to get rid of the unnecessary appearance of "warnings" when grep'ing/ack'ing the dist code. Best, Adriano Ferreira

Message body is not shown because sender requested not to inline it.

Test::Pod will require 5.6.1 going forward.