Subject: | Tests fail on Perl 5.12.1 (threaded) |
DateTime 0.55's unit test t/43new-params.t fails 8 tests when run on a
Perl 5.12.1 on Linux with threading enabled.
I also had unit tests in my own modules fail with errors coming from
DateTime.
$ perl -v
This is perl 5, version 12, subversion 1 (v5.12.1) built for x86_64-
linux-thread-multi
$ ./Build test
.....
t/43new-params.t ........ 1/?
# Failed test 'year must be an integer'
# at t/43new-params.t line 9.
# expecting: Regexp ((?-xism:is an integer))
# found: Bizarre copy of ARRAY in sassign at
/usr/local/modern/perl/lib/5.12.1/Carp.pm line 95.
# Failed test 'year must be an integer'
# at t/43new-params.t line 11.
# expecting: Regexp ((?-xism:is an integer))
# found: Bizarre copy of ARRAY in sassign at
/usr/local/modern/perl/lib/5.12.1/Carp.pm line 95.
# Failed test 'month must be an integer'
# at t/43new-params.t line 14.
# expecting: Regexp ((?-xism:an integer))
# found: Bizarre copy of ARRAY in sassign at
/usr/local/modern/perl/lib/5.12.1/Carp.pm line 95.
# Failed test 'day must be an integer'
# at t/43new-params.t line 18.
# expecting: Regexp ((?-xism:an integer))
# found: Bizarre copy of ARRAY in sassign at
/usr/local/modern/perl/lib/5.12.1/Carp.pm line 95.
# Failed test 'hour must be an integer'
# at t/43new-params.t line 21.
# expecting: Regexp ((?-xism:an integer))
# found: Bizarre copy of ARRAY in sassign at
/usr/local/modern/perl/lib/5.12.1/Carp.pm line 95.
# Failed test 'minute must be an integer'
# at t/43new-params.t line 32.
# expecting: Regexp ((?-xism:an integer))
# found: Bizarre copy of ARRAY in sassign at
/usr/local/modern/perl/lib/5.12.1/Carp.pm line 95.
# Failed test 'second must be an integer'
# at t/43new-params.t line 44.
# expecting: Regexp ((?-xism:an integer))
# found: Bizarre copy of ARRAY in sassign at
/usr/local/modern/perl/lib/5.12.1/Carp.pm line 95.
# Failed test 'nanosecond must be an integer'
# at t/43new-params.t line 57.
# expecting: Regexp ((?-xism:positive integer))
# found: Bizarre copy of ARRAY in sassign at
/usr/local/modern/perl/lib/5.12.1/Carp.pm line 95.
# Looks like you failed 8 tests of 8.
t/43new-params.t ........ Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/8 subtests