Subject: | *date* tests fail (with older Time::Local?) |
On some of my smokers the three *date* tests fail:
...
# Failed test at t/perl-To_date.t line 33.
# got: undef
# expected: '1451606400'
# Failed test at t/perl-To_date.t line 34.
# got: undef
# expected: '1451606400'
# Failed test at t/perl-To_date.t line 37.
# got: undef
# expected: '-63158400'
# Looks like you failed 3 tests of 3.
# Failed test 'from iso8601 string'
# at t/perl-To_date.t line 38.
# Looks like you failed 1 test of 5.
# Failed test 'coerce_to=float(epoch)'
# at t/perl-To_date.t line 39.
# Looks like you failed 1 test of 3.
t/perl-To_date.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
(less 1 skipped subtest: 1 okay)
# Failed test at t/perl-To_datenotime.t line 19.
# undef
# doesn't match '(?^:\A\d+\z)'
# Failed test at t/perl-To_datenotime.t line 21.
# undef
# doesn't match '(?^:\A-\d+\z)'
# Looks like you failed 2 tests of 3.
# Failed test 'from iso8601 string'
# at t/perl-To_datenotime.t line 22.
# Looks like you failed 1 test of 1.
# Failed test 'coerce_to=float(epoch)'
# at t/perl-To_datenotime.t line 23.
# Looks like you failed 1 test of 3.
t/perl-To_datenotime.t ...
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
(less 1 skipped subtest: 1 okay)
# Failed test at t/perl-To_datetime.t line 18.
# undef
# doesn't match '(?^:\A\d+\z)'
# Failed test at t/perl-To_datetime.t line 21.
# got: undef
# expected: '-63158400'
# Looks like you failed 2 tests of 3.
# Failed test 'from iso8601 string'
# at t/perl-To_datetime.t line 22.
# Looks like you failed 1 test of 1.
# Failed test 'coerce_to=float(epoch)'
# at t/perl-To_datetime.t line 23.
# Looks like you failed 1 test of 3.
t/perl-To_datetime.t .....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
(less 1 skipped subtest: 1 okay)
...
Possible reason: Time::Local is too old on these systems (maybe a version without timelocal/gm_modern?).