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