Subject: | Test failures in t/06-moment.t |
With versions 0.12_2 and 0.12, I have test failures in t/06-moment.t.
Looking at looking at CPAN Testers
(http://cpantesters.perl.org/show/DateTime-Util-Calc.html#DateTime-Util-Calc-0.12),
I'm no the only one with failures. Please see my test results below.
t/06-moment....1..32
ok 1 - use DateTime::Util::Calc;
ok 2 - use DateTime;
ok 3 - Moment from DT: 2003-06-25T04:40:16 -> 731391.486296
ok 4 - DT from moment: 731391.486296 -> 2003-06-25T04:40:16 isa DateTime
not ok 5 - DT diff -> 42016
# Failed test 'DT diff -> 42016'
# at t/06-moment.t line 34.
ok 6 - Moment from DT: 2003-06-25T11:40:16 -> 731391.486296
ok 7 - DT from moment: 731391.486296 -> 2003-06-25T11:40:16 isa DateTime
not ok 8 - DT diff -> 42016
# Failed test 'DT diff -> 42016'
# at t/06-moment.t line 34.
ok 9 - Moment from DT: 1978-01-08T12:23:08 -> 722092.849398
ok 10 - DT from moment: 722092.849398 -> 1978-01-08T12:23:08 isa DateTime
not ok 11 - DT diff -> 73388
# Failed test 'DT diff -> 73388'
# at t/06-moment.t line 34.
ok 12 - Moment from DT: 1978-01-08T20:23:08 -> 722092.849398
ok 13 - DT from moment: 722092.849398 -> 1978-01-08T20:23:08 isa DateTime
not ok 14 - DT diff -> 73388
# Failed test 'DT diff -> 73388'
# at t/06-moment.t line 34.
ok 15 - Moment from DT: 1977-01-26T05:41:24 -> 721745.570417
ok 16 - DT from moment: 721745.570417 -> 1977-01-26T05:41:24 isa DateTime
not ok 17 - DT diff -> 49284
# Failed test 'DT diff -> 49284'
# at t/06-moment.t line 34.
ok 18 - Moment from DT: 1977-01-26T13:41:24 -> 721745.570417
ok 19 - DT from moment: 721745.570417 -> 1977-01-26T13:41:24 isa DateTime
not ok 20 - DT diff -> 49284
# Failed test 'DT diff -> 49284'
# at t/06-moment.t line 34.
ok 21 - Moment from DT: 1992-08-31T22:12:23 -> 727442.216933
ok 22 - DT from moment: 727442.216933 -> 1992-08-31T22:12:23 isa DateTime
not ok 23 - DT diff -> 18743
# Failed test 'DT diff -> 18743'
# at t/06-moment.t line 34.
ok 24 - Moment from DT: 1992-09-01T05:12:23 -> 727442.216933
ok 25 - DT from moment: 727442.216933 -> 1992-09-01T05:12:23 isa DateTime
not ok 26 - DT diff -> 18743
# Failed test 'DT diff -> 18743'
# at t/06-moment.t line 34.
ok 27 - Moment from DT: 1982-07-18T04:29:06 -> 723744.478542
ok 28 - DT from moment: 723744.478542 -> 1982-07-18T04:29:06 isa DateTime
not ok 29 - DT diff -> 41346
# Failed test 'DT diff -> 41346'
# at t/06-moment.t line 34.
ok 30 - Moment from DT: 1982-07-18T11:29:06 -> 723744.478542
ok 31 - DT from moment: 723744.478542 -> 1982-07-18T11:29:06 isa DateTime
not ok 32 - DT diff -> 41346
# Failed test 'DT diff -> 41346'
# at t/06-moment.t line 34.
# Looks like you failed 10 tests of 32.
dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 5, 8, 11, 14, 17, 20, 23, 26, 29, 32
Failed 10/32 tests, 68.75% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/06-moment.t 10 2560 32 10 5 8 11 14 17 20 23 26 29 32
Failed 1/1 test scripts. 10/32 subtests failed.
Files=1, Tests=32, 4 wallclock secs ( 1.05 cusr + 0.02 csys = 1.07 CPU)
Failed 1/1 test programs. 10/32 subtests failed.