Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 81667
Status: resolved
Priority: 0/
Queue: App-perlfind

People
Owner: Nobody in particular
Requestors: piemas25 [...] gmail.com
Cc:
AdminCc:

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



Subject: Test failure on Windows Strawberry
Download (untitled) / with headers
text/plain 2.2k
Hello, thanks for this module, here is the result of the tests: Building and testing App-perlfind-2.05 cp lib/App/perlfind/Plugin/UseModule.pm blib\lib\App\perlfind\Plugin\UseModule.pm cp lib/App/perlfind/Plugin/Functions.pm blib\lib\App\perlfind\Plugin\Functions.pm cp lib/App/perlzonji.pm blib\lib\App\perlzonji.pm cp lib/App/perlfind/Plugin/FoundIn.pm blib\lib\App\perlfind\Plugin\FoundIn.pm cp lib/App/perlfind.pm blib\lib\App\perlfind.pm cp lib/App/perlfind/Plugin/Label.pm blib\lib\App\perlfind\Plugin\Label.pm cp lib/App/perlfind/Plugin/SpecialPackages.pm blib\lib\App\perlfind\Plugin\SpecialPackages.pm cp lib/App/perlfind/Plugin/Perlvar.pm blib\lib\App\perlfind\Plugin\Perlvar.pm C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- bin/perlfind blib\script\perlfind pl2bat.bat blib\script\perlfind C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- bin/perlzonji blib\script\perlzonji pl2bat.bat blib\script\perlzonji C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00-compile.t ........... ok # Testing with Perl 5.012003, C:\STRAWB~1\perl\bin\perl.exe # Class::Trigger version is 0.14 # ExtUtils::MakeMaker version is 6.62 # Module::Pluggable version is 3.9 # Pod::Cpandoc version is 0.12 # Pod::Functions version is 1.04 # Test::Differences version is 0.61 # Test::More version is 0.98 # parent version is 0.225 t/000-report-versions.t .. ok t/dedup.t ................ ok # Failed test '... in perlfunc perlop' # at t/find_matches.t line 47. # +----+-----+----+---------------+ # | Elt|Got | Elt|Expected | # +----+-----+----+---------------+ # * 0|[] * 0|[ * # | | * 1| 'perlfunc', * # | | * 2| 'perlop' * # | | * 3|] * # +----+-----+----+---------------+ # Looks like you failed 1 test of 48. t/find_matches.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/48 subtests Test Summary Report ------------------- t/find_matches.t (Wstat: 256 Tests: 48 Failed: 1) Failed test: 32 Non-zero exit status: 1 Files=4, Tests=67, 16 wallclock secs ( 0.20 usr + 0.17 sys = 0.38 CPU) Result: FAIL Failed 1/4 test programs. 1/67 subtests failed.
From: smylers [...] cpan.org
Download (untitled) / with headers
text/plain 926b
On Mon Dec 03 15:15:46 2012, mascip wrote: Show quoted text
> # Testing with Perl 5.012003, C:\STRAWB~1\perl\bin\perl.exe > > # Failed test '... in perlfunc perlop' > # at t/find_matches.t line 47. > # +----+-----+----+---------------+ > # | Elt|Got | Elt|Expected | > # +----+-----+----+---------------+ > # * 0|[] * 0|[ * > # | | * 1| 'perlfunc', * > # | | * 2| 'perlop' * > # | | * 3|] * > # +----+-----+----+---------------+
I don't think this is Strawberry-specific, but depends on the version of perl. That test is searching for documentation on __PACKAGE__ and expecting to find it in perlfunc and perlop. But perlfunc has only documented __PACKAGE__ since perl 5.15.2 -- see: https://metacpan.org/module/ZEFRAM/perl-5.15.1/pod/perlfunc.pod and https://metacpan.org/module/RJBS/perl-5.15.2/pod/perlfunc.pod So on perl 5.15.1 and earlier, this test fails.
Subject: Re: [rt.cpan.org #81667] Test failure on Windows Strawberry
Date: Wed, 2 Jan 2013 15:36:24 +0000
To: bug-App-perlfind [...] rt.cpan.org
From: pierre masci <piemas25 [...] gmail.com>
Download (untitled) / with headers
text/plain 1.2k
Thank you :-) Will App::perlfind suffer from this? Does it mean that App::perlfind is designed to work only with perl 5.15.2 or higher? Or shall i just force-install it? On 2 January 2013 14:28, smylers@cpan.org via RT <bug-App-perlfind@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=81667 > > > On Mon Dec 03 15:15:46 2012, mascip wrote: >
>> # Testing with Perl 5.012003, C:\STRAWB~1\perl\bin\perl.exe >> >> # Failed test '... in perlfunc perlop' >> # at t/find_matches.t line 47. >> # +----+-----+----+---------------+ >> # | Elt|Got | Elt|Expected | >> # +----+-----+----+---------------+ >> # * 0|[] * 0|[ * >> # | | * 1| 'perlfunc', * >> # | | * 2| 'perlop' * >> # | | * 3|] * >> # +----+-----+----+---------------+
> > I don't think this is Strawberry-specific, but depends on the version of > perl. > > That test is searching for documentation on __PACKAGE__ and expecting to > find it in perlfunc and perlop. But perlfunc has only documented > __PACKAGE__ since perl 5.15.2 -- see: > https://metacpan.org/module/ZEFRAM/perl-5.15.1/pod/perlfunc.pod and > https://metacpan.org/module/RJBS/perl-5.15.2/pod/perlfunc.pod > > So on perl 5.15.1 and earlier, this test fails.
There are some perl version-specific things; I'm (finally) fixing the ones I'm aware of. Thanks!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.