Hi Rick,
DateTime-Format-Duration is failing its tests for
2_fmt_normalise. Any ideas?
Thanks
Ron Hill
D:\perl_modules\DateTime-Format-Duration-1.02>nmake test
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t/*.t
t/0_pod......................ok
t/1_load.....................ok
t/2_fmt_normalise............ok 32/52
t/2_fmt_normalise............NOK 34# Failed test
(t/2_fmt_normalise.t at lin
e 115)
# got: '-0000-01-15 00:00:00'
# expected: '-0000-01-14 00:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 34!
t/2_fmt_normalise............ok 39/52# DST ends, Day is 25 hours long
t/2_fmt_normalise............ok 40/52
t/2_fmt_normalise............NOK 41# Failed test
(t/2_fmt_normalise.t at lin
e 115)
# got: '0000-00-02 00:00:00'
# expected: '0000-00-01 23:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 41!
t/2_fmt_normalise............NOK 42# Failed test
(t/2_fmt_normalise.t at lin
e 115)
# got: '0000-00-00 00:00:00'
# expected: '0000-00-00 01:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 42!
t/2_fmt_normalise............ok 44/52# DST starts, Day is 23 hours long
t/2_fmt_normalise............NOK 45# Failed test
(t/2_fmt_normalise.t at lin
e 115)
# got: '0000-00-02 00:00:00'
# expected: '0000-00-02 01:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 45!
t/2_fmt_normalise............NOK 46# Failed test
(t/2_fmt_normalise.t at lin
e 115)
# got: '0000-00-00 00:00:00'
# expected: '-0000-00-00 01:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 46!
t/2_fmt_normalise............ok 47/52# Leap Second adds an extra second
to one o
f the minutes.
t/2_fmt_normalise............ok 49/52
t/2_fmt_normalise............NOK 50# Failed test
(t/2_fmt_normalise.t at lin
e 115)
# got: '0000-00-00 00:02:00'
# expected: '0000-00-00 00:01:60'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 50!
t/2_fmt_normalise............ok 51/52# Looks like you failed 6 tests of
52.
t/2_fmt_normalise............dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 34, 41-42, 45-46, 50
Failed 6/52 tests, 88.46% okay
t/3_fmt_normalise_iso........ok
t/4_fmt_normalise_no_base....ok
t/5_fmt_no_normalise.........ok
t/6_parse....................# Individual Components
t/6_parse....................ok 14/24# Group Components
t/6_parse....................ok
t/7_misc.....................ok
t/8_negatives................ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
t/2_fmt_normalise.t 6 1536 52 6 11.54% 34 41-42 45-46 50
Failed 1/9 test scripts, 88.89% okay. 6/211 subtests failed, 97.16%
okay.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff'
Stop.
D:\perl_modules\DateTime-Format-Duration-1.02>
D:\perl_modules\DateTime-Format-Duration-1.02>C:\Perl\bin\perl.exe
"t/2_fmt_no
alise.t"
1..52
ok 1 - Test 1: 0000-00-00 00:00:01 should stay 0000-00-00 00:00:01
ok 2 - Test 2: 0000-00-00 00:00:59 should stay 0000-00-00 00:00:59
ok 3 - Test 3: 0000-00-00 00:00:60 should become 0000-00-00 00:01:00
ok 4 - Test 4: 0000-00-00 00:00:61 should become 0000-00-00 00:01:01
ok 5 - Test 5: 0000-00-00 00:00:119 should become 0000-00-00 00:01:59
ok 6 - Test 6: 0000-00-00 00:00:120 should become 0000-00-00 00:02:00
ok 7 - Test 7: 0000-00-00 00:00:121 should become 0000-00-00 00:02:01
ok 8 - Test 8: 0000-00-00 00:01:00 should stay 0000-00-00 00:01:00
ok 9 - Test 9: 0000-00-00 00:59:00 should stay 0000-00-00 00:59:00
ok 10 - Test 10: 0000-00-00 00:60:00 should become 0000-00-00 01:00:00
ok 11 - Test 11: 0000-00-00 00:61:00 should become 0000-00-00 01:01:00
ok 12 - Test 12: 0000-00-00 00:01:59 should stay 0000-00-00 00:01:59
ok 13 - Test 13: 0000-00-00 00:01:60 should become 0000-00-00 00:02:00
ok 14 - Test 14: 0000-00-00 00:01:61 should become 0000-00-00 00:02:01
ok 15 - Test 15: 0000-00-00 00:59:60 should become 0000-00-00 01:00:00
ok 16 - Test 16: 0000-00-00 00:60:60 should become 0000-00-00 01:01:00
ok 17 - Test 17: 0000-00-00 01:00:00 should stay 0000-00-00 01:00:00
ok 18 - Test 18: 0000-00-00 23:00:00 should stay 0000-00-00 23:00:00
ok 19 - Test 19: 0000-00-00 24:00:00 should become 0000-00-01 00:00:00
ok 20 - Test 20: 0000-00-00 25:00:00 should become 0000-00-01 01:00:00
ok 21 - Test 21: 0000-00-00 01:59:00 should stay 0000-00-00 01:59:00
ok 22 - Test 22: 0000-00-00 01:60:00 should become 0000-00-00 02:00:00
ok 23 - Test 23: 0000-00-00 01:61:00 should become 0000-00-00 02:01:00
ok 24 - Test 24: 0000-00-00 23:60:00 should become 0000-00-01 00:00:00
ok 25 - Test 25: 0000-00-00 24:60:00 should become 0000-00-01 01:00:00
ok 26 - Test 26: 0000-00-00 00:00:86400 should become 0000-00-01
00:00:00
ok 27 - Test 27: 0000-00-00 00:1440:00 should become 0000-00-01 00:00:00
ok 28 - Test 28: 0000-00-00 240:00:00 should become 0000-00-10 00:00:00
ok 29 - Test 29: 0000-00-45 00:00:00 should become 0000-01-14 00:00:00
ok 30 - Test 30: 0000-240-00 00:00:00 should become 0020-00-00 00:00:00
ok 31 - Test 31: 0000-00-00 00:00:-86400 should become -0000-00-01
00:00:00
ok 32 - Test 32: 0000-00-00 00:-1440:00 should become -0000-00-01
00:00:00
ok 33 - Test 33: 0000-00-00 -240:00:00 should become -0000-00-10
00:00:00
not ok 34 - Test 34: 0000-00--45 00:00:00 should become -0000-01-14
00:00:00
# Failed test (t/2_fmt_normalise.t at line 115)
# got: '-0000-01-15 00:00:00'
# expected: '-0000-01-14 00:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 34!
ok 35 - Test 35: 0000--240-00 00:00:00 should become -0020-00-00
00:00:00
ok 36 - Test 36: 0000-00-00 00:00:-01 should become -0000-00-00
00:00:01
ok 37 - Test 37: 0000-00-00 00:00:-59 should become -0000-00-00
00:00:59
ok 38 - Test 38: 0000-00-00 00:00:-60 should become -0000-00-00
00:01:00
ok 39 - Test 39: 0000-00-00 00:00:-61 should become -0000-00-00
00:01:01
ok 40 - Test 40: 0000-00-00 -01:01:-01 should become -0000-00-00
00:59:01
# DST ends, Day is 25 hours long
not ok 41 - Test 41: 0000-00-00 48:00:00 should become 0000-00-01
23:00:00
# Failed test (t/2_fmt_normalise.t at line 115)
# got: '0000-00-02 00:00:00'
# expected: '0000-00-01 23:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 41!
not ok 42 - Test 42: 0000-00-02 -48:00:00 should become 0000-00-00
01:00:00
# Failed test (t/2_fmt_normalise.t at line 115)
# got: '0000-00-00 00:00:00'
# expected: '0000-00-00 01:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 42!
ok 43 - Test 43: 0000-00-02 00:00:00 should stay 0000-00-02 00:00:00
ok 44 - Test 44: 0000-00-00 24:00:00 should become 0000-00-01 00:00:00
# DST starts, Day is 23 hours long
not ok 45 - Test 45: 0000-00-00 48:00:00 should become 0000-00-02
01:00:00
# Failed test (t/2_fmt_normalise.t at line 115)
# got: '0000-00-02 00:00:00'
# expected: '0000-00-02 01:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 45!
not ok 46 - Test 46: 0000-00-02 -48:00:00 should become -0000-00-00
01:00:00
# Failed test (t/2_fmt_normalise.t at line 115)
# got: '0000-00-00 00:00:00'
# expected: '-0000-00-00 01:00:00'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 46!
ok 47 - Test 47: 0000-00-02 00:00:00 should stay 0000-00-02 00:00:00
ok 48 - Test 48: 0000-00-00 24:00:00 should become 0000-00-01 00:00:00
# Leap Second adds an extra second to one of the minutes.
ok 49 - Test 49: 0000-00-00 00:01:120 should become 0000-00-00 00:02:59
not ok 50 - Test 50: 0000-00-00 00:01:60 should stay 0000-00-00
00:01:60
# Failed test (t/2_fmt_normalise.t at line 115)
# got: '0000-00-00 00:02:00'
# expected: '0000-00-00 00:01:60'
# If you send an error report, please include the output of:
# C:\Perl\bin\perl.exe t/2_fmt_normalise.t 50!
ok 51 - Test 51: 0000-00-00 00:03:00 should stay 0000-00-00 00:03:00
ok 52 - Test 52: 0000-00-00 00:00:60 should become 0000-00-00 00:01:00
# Looks like you failed 6 tests of 52.
D:\perl_modules\DateTime-Format-Duration-1.02>