Skip Menu |

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

Report information
The Basics
Id: 16521
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Regexp-Assemble

People
Owner: dland [...] cpan.org
Requestors: normelton [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.22
Fixed in: 0.23



Subject: Make test fails
Running perl 5.8.5, RedHat Enterprise Linux 4, trying to install Regexp-Assemble-0.22, I get the following make 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.22 t/00_basic........ok 4/318 skipped: various reasons t/01_insert.......ok t/02_reduce.......ok t/03_str..........ok t/04_match........ok t/05_hostmatch....ok 3/13 skipped: Test::File::Contents not installed on this system t/06_general......ok 33/114Operation `eq': no method found, left argument in overloaded package Regexp::Assemble, right argument in overloaded package Regexp::Assemble at /usr/lib/perl5/5.8.5/Test/More.pm line 1037. # Looks like you planned 114 tests but only ran 33. # Looks like your test died just after 33. t/06_general......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 34-114 Failed 81/114 tests, 28.95% okay t/07_warning......ok 4/4 skipped: Test::Warn not installed on this system t/08_track........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/06_general.t 255 65280 114 162 142.11% 34-114 11 subtests skipped. Failed 1/9 test scripts, 88.89% okay. 81/16254 subtests failed, 99.50% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
From: David Landgren
[guest - Thu Dec 15 14:26:22 2005]: Show quoted text
> Running perl 5.8.5, RedHat Enterprise Linux 4, trying to install > Regexp-Assemble-0.22, I get the following make errors...
[...] Show quoted text
> t/06_general......ok 33/114Operation `eq': no method found, > left argument in overloaded package Regexp::Assemble, > right argument in overloaded package Regexp::Assemble at > /usr/lib/perl5/5.8.5/Test/More.pm line 1037. > # Looks like you planned 114 tests but only ran 33. > # Looks like your test died just after 33.
I can reproduce this error with Test::More version 0.47. When Test::More 0.62 is used, the error goes away. I think Regexp::Assemble must be tickling a bug in Test::More's is_deeply() routine, and said bug has been fixed in a more recent release of Test::More. Further work will be required to determine which is the minimum version of Test::More that doesn't crash. Attacked is an updated version of the Regexp::Assemble test file that causes the problem. The update is to skip the tests that provoke the bug, unless the version of Test::More is more recent than 0.47. (This value may need to be raised higher). The rationale behind this is that I don't want to have to force anyone to upgrade their copy of Test::More. (Unless they want to).

Message body is not shown because it is too large.