Bug#787499: libb-hooks-op-check-entersubforcv-perl: FTBFS with perl 5.22
Dominic Hargreaves
dom at earth.li
Tue Jun 2 09:54:38 UTC 2015
Source: libb-hooks-op-check-entersubforcv-perl
Version: 0.09-3
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.22-transition
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=94945
This package FTBFS with perl 5.22:
Subroutine B::OP::parent redefined at /usr/lib/x86_64-linux-gnu/perl5/5.22/B/Utils.pm line 186.
# Failed test 'simple callback'
# at t/basic.t line 37.
# got: '0'
# expected: '1'
# Failed test 'multiple callbacks'
# at t/basic.t line 65.
# got: '0'
# expected: '2'
# Failed test 'no callback after multiple registrations'
# at t/basic.t line 68.
# got: '0'
# expected: '2'
# Failed test 'multiple callbacks for multiple entersubs'
# at t/basic.t line 78.
# got: '0'
# expected: '4'
# Failed test 'deregistration'
# at t/basic.t line 90.
# got: '0'
# expected: '2'
# Looks like you planned 20 tests but ran 11.
# Looks like you failed 5 tests of 11 run.
t/basic.t ...
1..20
ok 1 - use B::Hooks::OP::Check::EntersubForCV;
ok 2 - no callback yet
ok 3 - no callback after registration
not ok 4 - simple callback
ok 5 - \&foo does not issue a callback
not ok 6 - &foo and &foo() issue a callback # TODO TODO
# Failed (TODO) test '&foo and &foo() issue a callback'
# at t/basic.t line 54.
# got: '0'
# expected: '2'
not ok 7 - multiple callbacks
not ok 8 - no callback after multiple registrations
not ok 9 - multiple callbacks for multiple entersubs
not ok 10 - deregistration
ok 11 - no callbacks after removing all registers
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 14/20 subtests
Subroutine B::OP::parent redefined at /usr/lib/x86_64-linux-gnu/perl5/5.22/B/Utils.pm line 186.
# Failed test at t/import.t line 29.
# got: '0'
# expected: '2'
# Failed test at t/import.t line 33.
# got: '0'
# expected: '2'
# Looks like you planned 9 tests but ran 3.
# Looks like you failed 2 tests of 3 run.
t/import.t ..
1..9
ok 1
not ok 2
not ok 3
Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/9 subtests
Test Summary Report
-------------------
t/basic.t (Wstat: 1280 Tests: 11 Failed: 5)
Failed tests: 4, 7-10
Non-zero exit status: 5
Parse errors: Bad plan. You planned 20 tests but ran 11.
t/import.t (Wstat: 512 Tests: 3 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
Parse errors: Bad plan. You planned 9 tests but ran 3.
Files=2, Tests=14, 0 wallclock secs ( 0.03 usr 0.03 sys + 0.09 cusr 0.01 csys = 0.16 CPU)
Result: FAIL
Cheers,
Dominic.
More information about the pkg-perl-maintainers
mailing list