Subject: | Cannot add a date object to a non-date object |
Trying to install the module, it fails its tests:
root@cwright-desktop:~/.cpanplus/5.8.8/build/Date-Formatter-0.08# perl
Makefile.PL
Writing Makefile for Date::Formatter
root@cwright-desktop:~/.cpanplus/5.8.8/build/Date-Formatter-0.08# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10_Date_Formatter_test..................ok
t/20_Date_Formatter_overloads_test........ok 1/37Illegal Operation :
Cannot add a date object to a non-date object. at
/root/.cpanplus/5.8.8/build/Date-Formatter-0.08/blib/lib/Date/Formatter.pm
line 473.
# Looks like you planned 37 tests but only ran 7.
# Looks like your test died just after 7.
t/20_Date_Formatter_overloads_test........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 8-37
Failed 30/37 tests, 18.92% okay
t/30_Date_Formatter_formatter_test........ok
t/40_Date_Formatter_serialization_test....ok
t/50_Date_Formatter_interval_test.........ok
t/60_Date_Formatter_set_date_test.........ok
t/70_localization.........................ok
t/pod.....................................skipped
all skipped: Test::Pod 1.14 required for testing POD
t/pod_coverage............................skipped
all skipped: Test::Pod::Coverage 1.04 required for testing POD
coverage
Failed Test Stat Wstat Total Fail Failed List of
Failed
-------------------------------------------------------------------------------
t/20_Date_Formatter_overloads_tes 255 65280 37 60 162.16% 8-37
2 tests skipped.
Failed 1/9 test scripts, 88.89% okay. 30/117 subtests failed, 74.36% okay.
make: *** [test_dynamic] Error 255
root@cwright-desktop:~/.cpanplus/5.8.8/build/Date-Formatter-0.08#