Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-Sets CPAN distribution.

Report information
The Basics
Id: 103970
Status: resolved
Priority: 0/
Queue: App-Sets

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

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



Subject: System perl used in tests
t/10-sets.t usually fails on machines where not the system path is used (or the system path has additional modules installed): PERL_DL_NONLAZY=1 "/bbbike/perl-5.20.2/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....... 1/1 # Testing App::Sets 0.973 t/00-load.t ....... ok t/10-sets.t ....... error invoking 'perl -I lib bin/sets t/sample/lista1 minus t/sample/lista2', overall exit status 512 at t/10-sets.t line 18. # Looks like your test exited with 2 before it could output anything. t/10-sets.t ....... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/20-module.t ..... ok t/pod-coverage.t .. skipped: Test::Pod::Coverage - AUTHOR_TEST not set t/pod.t ........... skipped: Test::Pod - AUTHOR_TEST not set Test Summary Report ------------------- t/10-sets.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=5, Tests=33, 1 wallclock secs ( 0.02 usr 0.04 sys + 0.19 cusr 0.23 csys = 0.48 CPU) Result: FAIL Calling by hand: $ perl -I lib bin/sets t/sample/lista1 minus t/sample/lista2 Can't locate Log/Log4perl/Tiny.pm in @INC (@INC contains: lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at bin/sets line 5. BEGIN failed--compilation aborted at bin/sets line 5. Using the correct perl (i.e. $^X) does not yield an error: $ perl5.20.2 -I lib bin/sets t/sample/lista1 minus t/sample/lista2 [2015/04/25 20:35:05] [INFO ] opening 't/sample/lista1' and sorting on the fly [2015/04/25 20:35:05] [INFO ] opening 't/sample/lista2' and sorting on the fly nono quarto secondo sesto
Thanks for pointing out and hinting where the problem lies. A new developer release with the fix is on its way to CPAN, I'll turn it into a proper release after some feedbacks from CPANTESTERS. Ciao, Flavio.
On 2015-04-25 20:48:04, POLETTIX wrote: Show quoted text
> Thanks for pointing out and hinting where the problem lies. > > A new developer release with the fix is on its way to CPAN, I'll turn > it into a proper release after some feedbacks from CPANTESTERS.
Looks good on CPAN Testers: http://matrix.cpantesters.org/?dist=App-Sets%200.973_01
Show quoted text
Yes it does, although I'm still not releasing it due to another error on Windows (another dev release is already on its way). Thanks for caring!