Skip Menu |

This queue is for tickets about the Regexp-Assemble CPAN distribution.

Report information
The Basics
Id: 27138
Status: resolved
Priority: 0/
Queue: Regexp-Assemble

People
Owner: dland [...] cpan.org
Requestors: SAPER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.28
Fixed in: 0.30



Subject: Test failures on Perl 5.6.0
Hello David, While trying to install Regexp::Assemble on an old machine with a Perl 5.6.0, I got the following errors: Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_basic........# testing Regexp::Assemble v0.28 t/00_basic........ok 1/322 # Failed test '_fastlex in and out of quotemeta' # at t/00_basic.t line 964. # Structures begin differing at: # $got->[1] = '\+' # $expected->[1] = '\\+' # a \+ B? c # Failed test '_fastlex backslash letter' # at t/00_basic.t line 968. # Structures begin differing at: # $got->[0] = '\A' # $expected->[0] = '\\A' # \A \a \e \f \r \n \t \Z # Failed test '_fastlex backslash misc' # at t/00_basic.t line 972. # Structures begin differing at: # $got->[0] = '\cG' # $expected->[0] = '\\cG' # \cG c G \cD c d \cG*? 0 0 7*? ! 0 4 1 \z # Looks like you failed 3 tests of 322. t/00_basic........dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 319-321 Failed 3/322 tests, 99.07% okay (less 4 skipped tests: 315 okay, 97.83%) t/01_insert.......ok t/02_reduce.......ok t/03_str..........ok t/04_match........ok t/05_hostmatch....ok 3/23 skipped: various reasons t/06_general......ok 5/99 skipped: various reasons t/07_warning......ok 6/6 skipped: various reasons t/08_track........ # Failed test 're pattern-2 a-22-55555' # at t/08_track.t line 86. # got: '1' # expected: '^a-\d+-\d+$' Use of uninitialized value in string eq at t/08_track.t line 174. # Failed test 'match pattern-6 cat re' # at t/08_track.t line 174. # got: undef # expected: '^cat' Use of uninitialized value in string eq at t/08_track.t line 177. # Failed test 'match pattern-6 CATFOOD re' # at t/08_track.t line 177. # got: undef # expected: '^cat' Use of uninitialized value in string eq at t/08_track.t line 180. # Failed test 'match pattern-6 candle re' # at t/08_track.t line 180. # got: undef # expected: '^candle$' # Looks like you failed 4 tests of 75. t/08_track........dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 19, 54, 56, 58 Failed 4/75 tests, 94.67% okay (less 6 skipped tests: 65 okay, 86.67%) t/09_debug........ok 1/57 # Failed test '_fastlex in and out of quotemeta' # at t/09_debug.t line 291. # Structures begin differing at: # $got->[1] = '\+' # $expected->[1] = '\\+' # Failed test '_fastlex more metachars' # at t/09_debug.t line 295. # Structures begin differing at: # $got->[0] = '\b' # $expected->[0] = '\\b' # \b w [0-5]* \\ (?:x|y){,5}? # Failed test '_fastlex backslash misc' # at t/09_debug.t line 299. # Structures begin differing at: # $got->[0] = '\cG' # $expected->[0] = '\\cG' # \cG c G \cG 0 0 7 # Looks like you failed 3 tests of 57. t/09_debug........dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 54-56 Failed 3/57 tests, 94.74% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/00_basic.t 3 768 322 3 319-321 t/08_track.t 4 1024 75 4 19 54 56 58 t/09_debug.t 3 768 57 3 54-56 24 subtests skipped. Failed 3/10 test scripts. 10/2859 subtests failed. Files=10, Tests=2859, 6 wallclock secs ( 3.81 cusr + 0.12 csys = 3.93 CPU) Failed 3/10 test programs. 10/2859 subtests failed. make: *** [test_dynamic] Error 11 /usr/bin/make test -- NOT OK This was originally on a Red Hat machine, but I can also reproduce these with a Perl 5.6.0 I compiled on a modern machine. Regards, -- Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #27138] Test failures on Perl 5.6.0
Date: Wed, 16 May 2007 11:08:43 +0200
To: bug-Regexp-Assemble [...] rt.cpan.org
From: David Landgren <david [...] landgren.net>
Sébastien Aperghis-Tramoni via RT wrote: Show quoted text
> Tue May 15 12:43:12 2007: Request 27138 was acted upon. > Transaction: Ticket created by SAPER > Queue: Regexp-Assemble > Subject: Test failures on Perl 5.6.0 > Broken in: 0.28 > Severity: Normal > Owner: Nobody > Requestors: SAPER@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=27138 > > > > Hello David, > > While trying to install Regexp::Assemble on an old machine with > a Perl 5.6.0, I got the following errors:
[...] Show quoted text
> This was originally on a Red Hat machine, but I can also reproduce > these with a Perl 5.6.0 I compiled on a modern machine.
Yep, me too. It's rather minor: one has to use \cx in a pattern, but nevertheless needs to be addressed. I have a few things that need fixing, notably the fact that R::A now throws up on blead and I plan to work on that this weekend. Thanks for the report, David
Perl 5.6 compatibility has been restored with version 0.30, coming soon to a mirror near you. Thanks, David