Subject: | 04epoch.t fails on Windows, perl <=5.10.1 |
See http://matrix.cpantesters.org/?dist=DateTime+0.78
04epoch.t:
...
ok 29 - epoch should work back to at least 1904
Use of uninitialized value in subroutine entry at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 242.
Use of uninitialized value in subroutine entry at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 244.
Use of uninitialized value in subroutine entry at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 244.
Use of uninitialized value in subroutine entry at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 244.
Use of uninitialized value $second in numeric lt (<) at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 319.
Use of uninitialized value $second in numeric eq (==) at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 325.
Use of uninitialized value $p{"second"} in numeric gt (>) at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 269.
not ok 30 - year should be 1904
# Failed test 'year should be 1904'
# at t/04epoch.t line 126.
# got: '1899'
# expected: '1904'
not ok 31 - month should be 1904
# Failed test 'month should be 1904'
# at t/04epoch.t line 127.
# got: '12'
# expected: '1'
not ok 32 - day should be 1904
# Failed test 'day should be 1904'
# at t/04epoch.t line 128.
# got: '31'
# expected: '1'
ok 33 - epoch for 1 is -62135596800
ok 34 - epoch for 99 is -59042995200
ok 35 - epoch for 100 is -59011459200
ok 36 - epoch for 999 is -30641760000
ok 37 - can pass overloaded object to from_epoch
ok 38 - decimal epoch in overloaded object
Use of uninitialized value in subroutine entry at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 242.
Use of uninitialized value in subroutine entry at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 244.
Use of uninitialized value in subroutine entry at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 244.
Use of uninitialized value in subroutine entry at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 244.
Use of uninitialized value $second in numeric lt (<) at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 319.
Use of uninitialized value $second in numeric eq (==) at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 325.
Use of uninitialized value $p{"second"} in numeric gt (>) at
C:\strawberry\cpan\build\DateTime-0.78-ClXmIn\blib\lib/DateTime.pm line 269.
not ok 39 - negative epoch in overloaded object
# Failed test 'negative epoch in overloaded object'
# at t/04epoch.t line 173.
# got: '-2209075200'
# expected: '-12345'
ok 40 - 'asldkjlkjd' is not a valid epoch value
ok 41 - '1234 foo' is not a valid epoch value
ok 42 - 'adlkj 1234' is not a valid epoch value
1..42
# Looks like you failed 4 tests of 42.
--
Alexandr Ciornii, http://chorny.net