Skip Menu |

This queue is for tickets about the MooseX-Role-Cmd CPAN distribution.

Report information
The Basics
Id: 41450
Status: resolved
Priority: 0/
Queue: MooseX-Role-Cmd

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

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



Subject: Error output contining /usr/local/bin/perl suspicious
It's hard to tell for me what t/basic.t is testing. But I see flaky results from it, both success and failure, even with the same perl. Here is a fail: t/basic................error running '/usr/local/bin/perl': 512 at /home/sand/.cpan/build/MooseX-Role-Cmd-0.03-RwkJeE/blib/lib/MooseX/Role/Cmd.pm line 141 ^ITest::Cmd::Perl::run('Test::Cmd::Perl=HASH(0x822570c)') called at t/lib/Test/Cmd/Perl.pm line 12 ^ITest::Cmd::Perl::output('Test::Cmd::Perl=HASH(0x822570c)') called at t/basic.t line 18 # Looks like you planned 7 tests but ran 4. # Looks like your test exited with 29 just after 4. Dubious, test returned 29 (wstat 7424, 0x1d00) Failed 3/7 subtests So what has /usr/local/bin/perl to do with this test? I did not test /usr/local/bin/perl. Maybe this leads the way to an explanation? Maybe it's just the IPC::Cmd version. I see from CPAn testers a strong negative correlation between IPC::Cmd 0.40_1 and your test results. Maybe you want to nail the dependency to 0.42 and see how it improves the cpantesters statistics? HTH, Regards,
From: ian.sillitoe [...] gmail.com
Thanks for the help - I inherited the module from v0.02 and hadn't got round to chasing up the build problems from the tests I didn't write myself. On Fri Dec 05 02:18:47 2008, ANDK wrote: Show quoted text
> It's hard to tell for me what t/basic.t is testing. But I see flaky > results from it, both success and failure, even with the same perl.
I think the reasoning behind this is that you want to test an external command but the only external command you are absolutely guaranteed to have installed across all OS/platforms is the perl you are currently running. Show quoted text
> So what has /usr/local/bin/perl to do with this test? I did not test > /usr/local/bin/perl. Maybe this leads the way to an explanation?
Presumably /usr/local/bin is where your perl/prove/cpan is installed Show quoted text
> Maybe it's just the IPC::Cmd version. I see from CPAn testers a strong > negative correlation between IPC::Cmd 0.40_1 and your test results. > Maybe you want to nail the dependency to 0.42 and see how it improves > the cpantesters statistics?
Cool, thanks - dependency added and pushed to CPAN as v0.04. I'll close the ticket, but feel free to open it again if it hasn't been solved.