Package: libautodie-perl
Version: 2.10-1
Severity: normal
User: [email protected]
Usertags: perl-5.12-transition
X-Debbugs-Cc: Paul Fenwick <[email protected]>
I'm seeing a peculiar autodie t/pod-coverage.t test failure with perl
5.12.0-1 from Debian experimental on i386 but not amd64.
# Failed test 'Pod coverage on Fatal'
# at /usr/share/perl5/Test/Pod/Coverage.pm line 126.
# Coverage for Fatal is 0.0%, with 1 naked subroutine:
# LEXICAL_TAG
# Looks like you failed 1 test of 5.
t/pod-coverage.t .................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
(Paul, I'm aware the test is only intended for the author, so please
consider this mail just a courtesy note and feel free to not care.
We can certainly fix our problem just by dropping TEST_AUTHOR=1.)
Digging into it a bit shows that it's not really the architecture that
makes the difference:
- Test::Pod::Coverage::all_pod_coverage_ok() is (almost) documented
to test the modules in a system specific order
- the test only fails if Fatal gets tested after autodie
- the failure can be triggered by replacing
all_pod_coverage_ok({...});
with
pod_coverage_ok($_, {...}) for (qw(autodie Fatal));
in t/pod-coverage.t
- this is specific to Perl 5.12.0, 5.10.1 is OK
--
Niko Tyni [email protected]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]