Skip Menu |

This queue is for tickets about the MooX-ConfigFromFile CPAN distribution.

Report information
The Basics
Id: 120536
Status: resolved
Priority: 0/
Queue: MooX-ConfigFromFile

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

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



Subject: Fails tests when no "." in @INC

With 5.25.10 & -Ddefault_inc_excludes_dot


PERL_DL_NONLAZY=1 "/home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/bin/perl5.25.10" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t xt/*.t
t/01-moo.t .... skipped: (no reason given)
# Testing MooX::ConfigFromFile 0.007, Perl 5.025010, /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/bin/perl5.25.10
t/00-load.t ... ok
t/02-moose.t .. skipped: (no reason given)

Test Summary Report
-------------------
t/01-moo.t  (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
t/02-moose.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
Files=3, Tests=1,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.69 cusr  0.08 csys =  0.81 CPU)
Result: FAIL

I'd say the culprits are here:

https://metacpan.org/source/REHSACK/MooX-ConfigFromFile-0.007/t/01-moo.t#L12

 

Note, that "eval" around "do" is redundant, as "do" does not fail on its own anyway, and just sets $! and $@ respectively.


-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 

On Tue Mar 07 01:51:30 2017, KENTNL wrote: Show quoted text
> With 5.25.10 & -Ddefault_inc_excludes_dot > > > PERL_DL_NONLAZY=1 > "/home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/bin/perl5.25.10" > "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > xt/*.t > t/01-moo.t .... skipped: (no reason given) > # Testing MooX::ConfigFromFile 0.007, Perl 5.025010, > /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/bin/perl5.25.10 > t/00-load.t ... ok > t/02-moose.t .. skipped: (no reason given) > > Test Summary Report > ------------------- > t/01-moo.t (Wstat: 65280 Tests: 0 Failed: 0) > Non-zero exit status: 255 > t/02-moose.t (Wstat: 65280 Tests: 0 Failed: 0) > Non-zero exit status: 255 > Files=3, Tests=1, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.69 cusr > 0.08 csys = > 0.81 CPU) > Result: FAIL > > I'd say the culprits are here: > > https://metacpan.org/source/REHSACK/MooX-ConfigFromFile-0.007/t/01- > moo.t#L12 > > Note, that "eval" around "do" is redundant, as "do" does not fail on > its own > anyway, and just sets $! and $@ respectively.
I changed that a bit - before using the big hammer of Data::Tumbler :) I'd prefer having dedicated tests for Moo and Moose (and maybe Mo) and see quicker where does what goes wrong ... - but later. It should be resolved with 0.008 (in indexing now ...).