Skip Menu |

This queue is for tickets about the Date-PeriodParser CPAN distribution.

Report information
The Basics
Id: 23679
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Date-PeriodParser

People
Owner: mcmahon [...] cpan.org
Requestors: chisel [...] chizography.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.04
Fixed in: (no value)



Subject: Date::PeriodParser fails numerous tests
CPAN Terminal> z Date::PeriodParser root@cwright-desktop:~/.cpanplus/5.8.8/build/Date-PeriodParser-0.04# perl Makefile.PL Writing Makefile for Date::PeriodParser root@cwright-desktop:~/.cpanplus/5.8.8/build/Date-PeriodParser-0.04# make Manifying blib/man3/Date::PeriodParser.3pm root@cwright-desktop:~/.cpanplus/5.8.8/build/Date-PeriodParser-0.04# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01now...........ok t/02recent........ # Failed test 'in the evening 'from' ok' # in t/02recent.t at line 133. # got: 'Sat Apr 13 18:00:00 2002' # expected: 'Sun Apr 14 18:00:00 2002' # Failed test 'in the evening 'to' ok' # in t/02recent.t at line 136. # got: 'Sat Apr 13 23:59:59 2002' # expected: 'Sun Apr 14 23:59:59 2002' # Failed test 'in the afternoon 'from' ok' # in t/02recent.t at line 133. # got: 'Sat Apr 13 13:30:00 2002' # expected: 'Sun Apr 14 13:30:00 2002' # Failed test 'in the afternoon 'to' ok' # in t/02recent.t at line 136. # got: 'Sat Apr 13 18:00:00 2002' # expected: 'Sun Apr 14 18:00:00 2002' # Failed test 'in the morning 'from' ok' # in t/02recent.t at line 133. # got: 'Sat Apr 13 00:00:00 2002' # expected: 'Sun Apr 14 00:00:00 2002' # Failed test 'in the morning 'to' ok' # in t/02recent.t at line 136. # got: 'Sat Apr 13 12:00:00 2002' # expected: 'Sun Apr 14 12:00:00 2002' # Looks like you failed 6 tests of 68. t/02recent........dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 3-4, 13-14, 47-48 Failed 6/68 tests, 91.18% okay t/03sometime......ok t/04leeway........ok t/05point.........ok t/06ago...........ok t/07junk..........ok t/08now...........ok t/09vague......... # Failed test in t/09vague.t at line 33. # got: 'Fri Apr 12 11:30:00 2002' # expected: 'Thu Apr 11 19:30:00 2002' # Failed test in t/09vague.t at line 34. # got: 'Fri Apr 12 20:00:00 2002' # expected: 'Fri Apr 12 04:00:00 2002' # Failed test in t/09vague.t at line 33. # got: 'Wed Apr 10 22:00:00 2002' # expected: 'Wed Apr 10 06:00:00 2002' # Failed test in t/09vague.t at line 34. # got: 'Thu Apr 11 14:00:00 2002' # expected: 'Wed Apr 10 22:00:00 2002' # Failed test in t/09vague.t at line 33. # got: 'Sun Mar 31 12:00:00 2002' # expected: 'Sat Mar 30 20:00:00 2002' # Failed test in t/09vague.t at line 34. # got: 'Thu Apr 4 11:59:59 2002' # expected: 'Wed Apr 3 20:59:59 2002' # Looks like you failed 6 tests of 8. t/09vague.........dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 3-8 Failed 6/8 tests, 25.00% okay t/pod-coverage....skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.............skipped all skipped: Test::Pod 1.14 required for testing POD Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/02recent.t 6 1536 68 6 8.82% 3-4 13-14 47-48 t/09vague.t 6 1536 8 6 75.00% 3-8 2 tests skipped. Failed 2/11 test scripts, 81.82% okay. 12/124 subtests failed, 90.32% okay. make: *** [test_dynamic] Error 255 root@cwright-desktop:~/.cpanplus/5.8.8/build/Date-PeriodParser-0.04# perl -MDate::Calc root@cwright-desktop:~/.cpanplus/5.8.8/build/Date-PeriodParser-0.04#
I'd like you to trry 0.05, which is going up today (Saturday, 3/3). If it still fails, please let me know what your perl -V output looks like. It's possible that there's a dependency on the distance from the current date, since the heuristic makes date ranges broader the further away they are from the current time; I'll check into this as well before finalizing 0.05.
I haven't had any more reports of test failures, so I'm closing this bug.