Skip Menu |

This queue is for tickets about the Perl-Examples-Accessors CPAN distribution.

Report information
The Basics
Id: 118962
Status: resolved
Priority: 0/
Queue: Perl-Examples-Accessors

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

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



Subject: t/00-compile.t fails if Evo is too old
Some of my smokers show the following failure: # Failed test 'Perl/Examples/Accessors/EvoClass.pm loaded ok' # at t/00-compile.t line 63. # got: '65280' # expected: '0' "-Class" is not exported by the Evo module Can't continue after import errors at /usr/perl5.16.3t/lib/site_perl/5.16.3/Evo.pm line 58. BEGIN failed--compilation aborted at /usr/home/eserte/.cpan/build/2016112515/Perl-Examples-Accessors-0.10-d7J9bz/blib/lib/Perl/Examples/Accessors/EvoClass.pm line 6. Compilation failed in require at -e line 1. # Looks like you failed 1 test of 27. t/00-compile.t ........... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/27 subtests Statistical analysis suggests that if fails always if Evo's version is too low, so probably you should put a minimum version here (or alternatively don't use -Class): **************************************************************** Regression 'mod:Evo' **************************************************************** Name Theta StdErr T-stat [0='const'] -0.0000 0.0000 -1.51 [1='eq_0.0171'] 0.0000 0.0000 2.76 [2='eq_0.0241'] 0.0000 0.0000 0.71 [3='eq_0.0254'] 1.0000 0.0000 15732582467459380.00 [4='eq_0.0256'] 1.0000 0.0000 15732582467459378.00 R^2= 1.000, N= 13, K= 5 ****************************************************************
On 2016-11-25 14:10:14, SREZIC wrote: Show quoted text
> Some of my smokers show the following failure: > > # Failed test 'Perl/Examples/Accessors/EvoClass.pm loaded ok' > # at t/00-compile.t line 63. > # got: '65280' > # expected: '0' > "-Class" is not exported by the Evo module > Can't continue after import errors at > /usr/perl5.16.3t/lib/site_perl/5.16.3/Evo.pm line 58. > BEGIN failed--compilation aborted at > /usr/home/eserte/.cpan/build/2016112515/Perl-Examples-Accessors-0.10- > d7J9bz/blib/lib/Perl/Examples/Accessors/EvoClass.pm line 6. > Compilation failed in require at -e line 1. > # Looks like you failed 1 test of 27. > t/00-compile.t ........... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/27 subtests > > > Statistical analysis suggests that if fails always if Evo's version is > too low, so probably you should put a minimum version here (or > alternatively don't use -Class): > > **************************************************************** > Regression 'mod:Evo' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] -0.0000 0.0000 -1.51 > [1='eq_0.0171'] 0.0000 0.0000 2.76 > [2='eq_0.0241'] 0.0000 0.0000 0.71 > [3='eq_0.0254'] 1.0000 0.0000 15732582467459380.00 > [4='eq_0.0256'] 1.0000 0.0000 15732582467459378.00 > > R^2= 1.000, N= 13, K= 5 > ****************************************************************
Well, I just found out that current Evo versions work only with 5.22.0 and later. So together with https://rt.cpan.org/Ticket/Display.html?id=118963 it means that this module's test suite can pass only for perl 5.22.x, but not for older or newer perl versions.
Thanks for the report. I've bumped prereq version of Evo::Class to 0.0256.