Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Constant CPAN distribution.

Report information
The Basics
Id: 81719
Status: resolved
Priority: 0/
Queue: Constant

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

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



Subject: tests fail with recent perl (5.16.2 in this report)
$ perl Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'constant' version '1.21' $ prove -lv t/constant.t t/constant.t .. 1..102 ok 1 - use constant; ok 2 - basic scalar constant [...] ok 30 ok 31 not ok 32 # Failed test at t/constant.t line 111. # got: '1' # expected: '0' # unexpected warning: # - $[ used in numeric lt (<) (did you mean $] ?) at t/constant.t line 146. ok 33 ok 34 - unexpected warning [...] ok 102 # Looks like you failed 1 test of 102. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/102 subtests (less 6 skipped subtests: 95 okay) Test Summary Report ------------------- t/constant.t (Wstat: 256 Tests: 102 Failed: 1) Failed test: 32 Non-zero exit status: 1 Files=1, Tests=102, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.05 cusr 0.00 csys = 0.09 CPU) Result: FAIL $ prove -lv t/utf8.t t/utf8.t .. 1..2 ok 1 - basic scalar constant with funny name not ok 2 - in substr() # Failed test ' in substr()' # at t/utf8.t line 17. Wide character in print at /usr/lib/perl5/5.16.2/Test/Builder.pm line 1759. # got: 'π' # expected: '3.14159' # Looks like you failed 1 test of 2. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Test Summary Report ------------------- t/utf8.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=1, Tests=2, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.03 cusr 0.00 csys = 0.06 CPU) Result: FAIL
Subject: Re: [rt.cpan.org #81719] tests fail with recent perl (5.16.2 in this report)
Date: Wed, 5 Dec 2012 23:29:35 +0100
To: bug-Constant [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
I am very aware of the problem, as it shows pretty well on CPAN Testers Matrix: » http://matrix.cpantesters.org/?dist=constant-1.21 But the module is developed by p5p, and some patches are waiting to be applied in order not to break Perl 5.8 » https://rt.perl.org/rt3//Public/Bug/Display.html?id=114770 -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.