Subject: | Test failure with Time::Duration::Concise::Localize 1.7 |
"make test" fails if Time::Duration::Concise::Localize 1.7 is installed, but works fine with 2.1 and later.
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/bbbike/perl-5.18.2t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing Date::Utility 1.00, Perl 5.018002, /bbbike/perl-5.18.2t/bin/perl
t/00-load.t ......... ok
Missing required arguments at /opt/perl-5.18.2t/lib/site_perl/5.18.2/Time/Duration/Concise/Localize.pm line 124.
Time::Duration::Concise::Localize::new("Time::Duration::Concise::Localize", "interval", -14400) called at /tmpfs/.cpan-build/Date-Utility-1.00-T8i5ms/blib/lib/Date/Utility.pm line 754
Date::Utility::timezone_offset(Date::Utility=HASH(0x226dfd0), "America/New_York") called at t/attributes.t line 280
main::comparisons(Date::Utility=HASH(0x226dfd0), "huey") called at t/attributes.t line 237
# Looks like you planned 1825 tests but ran 38.
# Looks like your test exited with 255 just after 38.
t/attributes.t ......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1787/1825 subtests
t/constructor.t ..... ok
t/manifest.t ........ skipped: Author tests not required for installation
t/mocktime.t ........ ok
Couldn't create a TimeInterval from the code '1d': Missing required arguments at /opt/perl-5.18.2t/lib/site_perl/5.18.2/Time/Duration/Concise/Localize.pm line 124.
Time::Duration::Concise::Localize::new("Time::Duration::Concise::Localize", "interval", "1d") called at /tmpfs/.cpan-build/Date-Utility-1.00-T8i5ms/blib/lib/Date/Utility.pm line 807
Date::Utility::try {...} () called at /opt/perl-5.18.2t/lib/site_perl/5.18.2/Try/Tiny.pm line 81
eval {...} called at /opt/perl-5.18.2t/lib/site_perl/5.18.2/Try/Tiny.pm line 72
Try::Tiny::try(CODE(0x32cc320), Try::Tiny::Catch=REF(0x3287190)) called at /tmpfs/.cpan-build/Date-Utility-1.00-T8i5ms/blib/lib/Date/Utility.pm line 811
Date::Utility::_move_time_interval(Date::Utility=HASH(0x32cd780), "1d", 1) called at /tmpfs/.cpan-build/Date-Utility-1.00-T8i5ms/blib/lib/Date/Utility.pm line 785
Date::Utility::plus_time_interval(Date::Utility=HASH(0x32cd780), "1d") called at t/object_methods.t line 81
at /tmpfs/.cpan-build/Date-Utility-1.00-T8i5ms/blib/lib/Date/Utility.pm line 810.
Date::Utility::catch {...} ("Missing required arguments at /opt/perl-5.18.2t/lib/site_perl"...) called at /opt/perl-5.18.2t/lib/site_perl/5.18.2/Try/Tiny.pm line 104
Try::Tiny::try(CODE(0x32cc320), Try::Tiny::Catch=REF(0x3287190)) called at /tmpfs/.cpan-build/Date-Utility-1.00-T8i5ms/blib/lib/Date/Utility.pm line 811
Date::Utility::_move_time_interval(Date::Utility=HASH(0x32cd780), "1d", 1) called at /tmpfs/.cpan-build/Date-Utility-1.00-T8i5ms/blib/lib/Date/Utility.pm line 785
Date::Utility::plus_time_interval(Date::Utility=HASH(0x32cd780), "1d") called at t/object_methods.t line 81
# Looks like you planned 50 tests but ran 43.
# Looks like your test exited with 255 just after 43.
t/object_methods.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 7/50 subtests
t/pod-coverage.t .... skipped: Author tests not required for installation
t/pod.t ............. skipped: Author tests not required for installation
t/static_methods.t .. ok
t/today.t ........... ok