Subject: | Fails tests with DateManip 6.32 and 6.34 |
I'm not sure if Date::Manip is to blame or not, it could be. Tested with both 6.32 and 6.34
t/0-signature.t .. ok
t/1-load.t ....... ok
t/DateManip.t .... ok
t/DateTime.t ..... ok
t/die.t .......... ok
t/doc.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/26 subtests
Undefined sort subroutine "Date::Manip::TZ::_sortByLength" called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/TZ.pm line 1432, <DATA> line 1.
Show quoted text
# Looks like your test exited with 255 just after 23.
t/export1.t ...... ok
t/export2.t ...... ok
t/export3.t ...... ok
t/funcs.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/18 subtests
Undefined sort subroutine "Date::Manip::TZ::_sortByLength" called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/TZ.pm line 1432, <DATA> line 1.
Show quoted text
# Looks like your test exited with 255 just after 12.
t/manip.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/6 subtests
t/msec.t ......... 1/41 Undefined sort subroutine "Date::Manip::TZ::_sortByLength" called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/TZ.pm line 1432.
Show quoted text
# Looks like your test exited with 255 just after 1.
t/past.t ......... ok
t/quot.t ......... ok
t/strftime.t ..... ok
t/string.t ....... ok
t/time.t ......... ok
t/xs_DateTime.t .. ok
t/xs_doc.t ....... ok
t/xs_funcs.t ..... ok
t/xs_locale.t .... ok
t/xs_quot.t ...... ok
t/xs_time.t ...... ok
Test Summary Report
-------------------
t/doc.t (Wstat: 65280 Tests: 23 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 26 tests but ran 23.
t/funcs.t (Wstat: 65280 Tests: 12 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 18 tests but ran 12.
t/manip.t (Wstat: 65280 Tests: 1 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 6 tests but ran 1.
Files=25, Tests=459, 8 wallclock secs ( 0.24 usr 0.05 sys + 3.36 cusr 0.33 csys = 3.98 CPU)
Result: FAIL
Failed 3/25 test programs. 0/459 subtests failed.
If I run the doc.t test with -MCarp::Always , I get the following backtrace, which may prove useful
Undefined sort subroutine "Date::Manip::TZ::_sortByLength" called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/TZ.pm line 1432, <DATA> line 1.
Date::Manip::TZ::_zonerx('Date::Manip::TZ=HASH(0x117ac00)') called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/TZ.pm line 1511
Date::Manip::TZ::_zrx('Date::Manip::TZ=HASH(0x117ac00)') called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/Date.pm line 1113
Date::Manip::Date::_iso8601_rx('Date::Manip::Date=HASH(0x117ad80)', 'ctime') called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/Date.pm line 1167
Date::Manip::Date::_iso8601_rx('Date::Manip::Date=HASH(0x117ad80)', 'fulldate') called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/Date.pm line 1188
Date::Manip::Date::_parse_datetime_iso8601('Date::Manip::Date=HASH(0x117ad80)', 'epoch 1054778289', 'SCALAR(0xe8a6e0)') called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/Date.pm line 137
Date::Manip::Date::parse('Date::Manip::Date=HASH(0x117ad80)', 'epoch 1054778289') called at /usr/lib64/perl5/vendor_perl/5.16.0/Date/Manip/DM6.pm line 189
Date::Manip::DM6::UnixDate('epoch 1054778289', '%m/%d/%Y') called at /tmp/portage/dev-perl-Time-Format-1.120.0/work/Time-Format-1.12/lib/Time/Format.pm line 232
Time::Format::time_manip('%m/%d/%Y', 'epoch 1054778289.987654321') called at /tmp/portage/dev-perl-Time-Format-1.120.0/work/Time-Format-1.12/lib/Time/Format.pm line 167
Time::Format::FETCH('Time::Format=CODE(0x8ad8f8)', '%m/%d/%Y\x{1c}epoch 1054778289.987654321') called at /usr/lib64/perl5/vendor_perl/5.16.0/Test/Builder.pm line 942
Test::Builder::is_eq('Test::Builder=HASH(0x7783b0)', undef, '06/05/2003', 'Example 13') called at /usr/lib64/perl5/vendor_perl/5.16.0/Test/More.pm line 377
Test::More::is(undef, '06/05/2003', 'Example 13') called at t/doc.t line 88
Either way, if Date::Manip is to blame, It would be nice to add a minimum version requirement on a non-broken version of Date::Manip when one becomes available.
Thanks, I hope this is helpful.