Subject: | Fails with DateTime::Locale 0.92 (with HTML-CalendarMonth-2.01) |
HTML-CalendarMonth-2.01 seems now to work with old DateTime::Locale (e.g. 0.46) and new (e.g. 1.01), but the test suite fails with 0.92:
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/bbbike/perl-5.20.0t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_basic.t ....... ok
Can't locate object method "code" via package "DateTime::Locale::en_US" at /tmpfs/.cpan-build/2015111718/HTML-CalendarMonth-2.01-VjkxN0/blib/lib/HTML/CalendarMonth/Locale.pm line 45.
# Looks like you planned 145 tests but ran 1.
# Looks like your test exited with 255 just after 1.
t/01_autodetect.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 144/145 subtests
Can't locate object method "code" via package "DateTime::Locale::en_US" at /tmpfs/.cpan-build/2015111718/HTML-CalendarMonth-2.01-VjkxN0/blib/lib/HTML/CalendarMonth/Locale.pm line 45.
# Looks like you planned 154 tests but ran 2.
# Looks like your test exited with 255 just after 2.
t/02_timelocal.t ...
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 152/154 subtests
Can't locate object method "code" via package "DateTime::Locale::en_US" at /tmpfs/.cpan-build/2015111718/HTML-CalendarMonth-2.01-VjkxN0/blib/lib/HTML/CalendarMonth/Locale.pm line 45.
# Looks like you planned 156 tests but ran 2.
# Looks like your test exited with 255 just after 2.
t/03_datetime.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 154/156 subtests
Can't locate object method "code" via package "DateTime::Locale::en_US" at /tmpfs/.cpan-build/2015111718/HTML-CalendarMonth-2.01-VjkxN0/blib/lib/HTML/CalendarMonth/Locale.pm line 45.
# Looks like you planned 156 tests but ran 2.
# Looks like your test exited with 255 just after 2.
t/04_datemanip.t ...
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 154/156 subtests
Can't locate object method "code" via package "DateTime::Locale::en_US" at /tmpfs/.cpan-build/2015111718/HTML-CalendarMonth-2.01-VjkxN0/blib/lib/HTML/CalendarMonth/Locale.pm line 45.
# Looks like you planned 156 tests but ran 2.
# Looks like your test exited with 255 just after 2.
t/05_datecalc.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 154/156 subtests
t/06_cal.t ......... ok
t/07_ncal.t ........ ok
Can't locate object method "codes" via package "DateTime::Locale" at /tmpfs/.cpan-build/2015111718/HTML-CalendarMonth-2.01-VjkxN0/blib/lib/HTML/CalendarMonth/Locale.pm line 55.
# Looks like your test exited with 255 before it could output anything.
t/20_i8n.t .........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 8/8 subtests
Can't locate object method "code" via package "DateTime::Locale::en_US" at /tmpfs/.cpan-build/2015111718/HTML-CalendarMonth-2.01-VjkxN0/blib/lib/HTML/CalendarMonth/Locale.pm line 45.
# Looks like your test exited with 255 before it could output anything.
t/21_narrow.t ......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/6 subtests