Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 53702
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.55



CC: datetime [...] perl.org
Subject: DateTime false test failure on 5.6
Date: Thu, 14 Jan 2010 21:29:06 +0000
To: bug-DateTime [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
A bug in perl 5.6, some interaction between "use utf8" and regexps, is causing false test failures for DateTime on 5.6. Attached patch fixes. -zefram

Message body is not shown because sender requested not to inline it.

This code changed in the latest release. Care to test on 5.6?
I forgot that I do have 5.6.2 around. I ran the tests and found new failures. I fixed one, but an overloading failure seems harder, and I'm not really interested in spending time fixing 5.6.2. Patches are welcome, but please make a new ticket, since the failure in this ticket is resolved.
Subject: Re: [rt.cpan.org #53702] DateTime false test failure on 5.6
Date: Mon, 15 Mar 2010 20:05:01 +0000
To: Dave Rolsky via RT <bug-DateTime [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Dave Rolsky via RT wrote: Show quoted text
>This code changed in the latest release. Care to test on 5.6?
With DateTime-0.54, t/13strftime.t now passes, but four other test scripts newly fail. On 5.6.1: Running Build test t/00load.t .............. ok t/01sanity.t ............ ok t/02last_day.t .......... ok t/03components.t ........ ok t/04epoch.t ............. ok t/05set.t ............... ok t/06add.t ............... ok t/07compare.t ........... 1/? Can't find label SCALAR(0x85529d0) at /home/zefram/usr/perl/perl_install/perl-5.6.1-i32-f52/cpan/build/DateTime-0.54-q4esFB/blib/lib/DateTime.pm line 1769. # Tests were run but no plan was declared and done_testing() was not seen. t/07compare.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) All 19 subtests passed t/09greg.t .............. ok t/10subtract.t .......... ok t/11duration.t .......... ok t/12week.t .............. ok t/13strftime.t .......... ok t/14locale.t ............ ok t/15jd.t ................ ok t/16truncate.t .......... ok t/17set_return.t ........ ok t/18today.t ............. ok t/19leap_second.t ....... ok t/20infinite.t .......... ok t/21bad_params.t ........ ok t/22from_doy.t .......... ok t/23storable.t .......... ok t/24from_object.t ....... ok t/25add_subtract.t ...... ok t/26dt_leapsecond_pm.t .. ok t/27delta.t ............. Can't find label SCALAR(0x84d5e6c) at /home/zefram/usr/perl/perl_install/perl-5.6.1-i32-f52/cpan/build/DateTime-0.54-q4esFB/blib/lib/DateTime.pm line 1769. t/27delta.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/28dow.t ............... ok t/29overload.t .......... 1/? # Failed test 'eq sort' # at t/29overload.t line 63. # Structures begin differing at: # $got->[3] = 2050-01-15T20:10:10 # $expected->[3] = '2050-01-15T20:10:10' # Looks like you failed 1 test of 29. t/29overload.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/29 subtests t/30future_tz.t ......... ok t/31formatter.t ......... skipped: DateTime::Format::Strptime 1.0400+ not installed t/32leap_second2.t ...... ok t/33seconds_offset.t .... ok t/34set_tz.t ............ ok t/35rd_values.t ......... ok t/36invalid_local.t ..... ok t/37local-add.t ......... ok t/38local-subtract.t .... 1/? Can't find label SCALAR(0x8572298) at /home/zefram/usr/perl/perl_install/perl-5.6.1-i32-f52/cpan/build/DateTime-0.54-q4esFB/blib/lib/DateTime.pm line 1769. # Tests were run but no plan was declared and done_testing() was not seen. t/38local-subtract.t .... Dubious, test returned 255 (wstat 65280, 0xff00) All 12 subtests passed t/39no-so.t ............. ok t/40leap-years.t ........ ok t/41cldr_format.t ....... ok t/42duration_class.t .... ok t/43new-params.t ........ ok Test Summary Report ------------------- t/07compare.t (Wstat: 65280 Tests: 19 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/27delta.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/29overload.t (Wstat: 256 Tests: 29 Failed: 1) Failed test: 19 Non-zero exit status: 1 t/38local-subtract.t (Wstat: 65280 Tests: 12 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=43, Tests=3183, 17 wallclock secs ( 0.99 usr 0.17 sys + 14.66 cusr 0.68 csys = 16.50 CPU) Result: FAIL Failed 4/43 test programs. 1/3183 subtests failed. Three of these test failures appear to have the same cause. The fourth, t/29overload.t, looks like its related to implicit stringification in the test infrastructure, about which I've heard some mumblings recently. -zefram