Skip Menu |

This queue is for tickets about the Module-Pluggable CPAN distribution.

Report information
The Basics
Id: 20225
Status: resolved
Priority: 0/
Queue: Module-Pluggable

People
Owner: Nobody in particular
Requestors: SSORICHE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.01
Fixed in: (no value)



Subject: Quux directory listed as a module during tests.
During testing of 3.01, any tests that include a Quux directory are failing due to Quux being listed as a module. I tested 3.0 and it passed all tests. Here is some sample output, there are a number of failures all the same type so I didn't feel they all needed to be included. If you require more details I can provide them. prove -lv t/13exceptregex.t t/13exceptregex....1..10 ok 1 ok 2 ok 3 ok 4 not ok 5 # Failed test (t/13exceptregex.t at line 20) # Structures begin differing at: # $got->[1] = 'MyTest::Plugin::Quux' # $expected->[1] = 'MyTest::Plugin::Quux::Foo' ok 6 ok 7 not ok 8 # Failed test (t/13exceptregex.t at line 31) # Structures begin differing at: # $got->[1] = 'MyTest::Plugin::Quux' # $expected->[1] = 'MyTest::Plugin::Quux::Foo' ok 9 not ok 10 # Failed test (t/13exceptregex.t at line 36) # Structures begin differing at: # $got->[1] = 'MyTest::Plugin::Quux' # $expected->[1] = 'MyTest::Plugin::Quux::Foo' # Looks like you failed 3 tests of 10. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 5, 8, 10 Failed 3/10 tests, 70.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/13exceptregex.t 3 768 10 3 30.00% 5 8 10 Failed 1/1 test scripts, 0.00% okay. 3/10 subtests failed, 70.00% okay. My OS is Mac OS X 10.4.7, using Perl 5.8.6. I believe there's been a similar but not identical bug reported already. If there's any more information you require, or tests you'd like me to run, please let me know. Thanks ~Shawn Sorichetti
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20225] Quux directory listed as a module during tests.
Date: Mon, 3 Jul 2006 11:46:36 +0100
To: via RT <bug-Module-Pluggable [...] rt.cpan.org>
From: Simon Wistow <simon [...] thegestalt.org>
On Sat, Jul 01, 2006 at 03:27:34PM -0400, via RT said: Show quoted text
> During testing of 3.01, any tests that include a Quux directory are > failing due to Quux being listed as a module. I tested 3.0 and it passed > all tests. > > Here is some sample output, there are a number of failures all the same > type so I didn't feel they all needed to be included. If you require > more details I can provide them.
I'm looking at ways to deal with this - it's a conflict of desired behaviour and is down to the same problem as http://rt.cpan.org/Public/Bug/Display.html?id=19857
From: harttig [...] dife.de
On Mon Jul 03 06:47:06 2006, simon@thegestalt.org wrote: Show quoted text
> On Sat, Jul 01, 2006 at 03:27:34PM -0400, via RT said:
> > During testing of 3.01, any tests that include a Quux directory are > > failing due to Quux being listed as a module. I tested 3.0 and it passed > > all tests. > > > > Here is some sample output, there are a number of failures all the same > > type so I didn't feel they all needed to be included. If you require > > more details I can provide them.
I had similar problems installing Module::Pluggable 3.01 # Failed test (t/11usetwice.t at line 24) # Structures begin differing at: # $got->[3] = 'MyTest::Plugin::Quux' # $expected->[3] = 'MyTest::Plugin::Quux::Foo' etc...... Interstingly, for me this only happened when using Test::More/Test::Simple 0.60 but not on Perl installations with Test::Simple/Test::More >= 0.62 , but I dont know if there is a direct connection Show quoted text
> > I'm looking at ways to deal with this - it's a conflict of desired > behaviour and is down to the same problem as > > http://rt.cpan.org/Public/Bug/Display.html?id=19857 >
best regards Ulrich Harttig
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20225] Quux directory listed as a module during tests.
Date: Mon, 10 Jul 2006 13:17:31 +0100
To: Guest via RT <bug-Module-Pluggable [...] rt.cpan.org>
From: Simon Wistow <simon [...] thegestalt.org>
On Mon, Jul 10, 2006 at 07:40:13AM -0400, Guest via RT said: Show quoted text
> Interstingly, for me this only happened when using > Test::More/Test::Simple 0.60 but not on Perl installations with > Test::Simple/Test::More >= 0.62 , but I dont know if there is a direct > connection
I'm about to make a release which mandates Test::More 0.62 and also puts in a variety of fixes. If you could do me a favour and test http://unixbeard.net/svn/simon/Module-Pluggable/ For me? You'll need to install Class::Inspector first. Simon
Fix in 3.10