Skip Menu |

This queue is for tickets about the clearpress CPAN distribution.

Report information
The Basics
Id: 116816
Status: resolved
Priority: 0/
Queue: clearpress

People
Owner: rmp [...] psyphi.net
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: v473.0.5
Fixed in: v476.1.1



Subject: Bleadperl and upcoming 5.24.1 and 5.22.3 break a ClearPress test
base.pm is going to get an overhaul and this code: https://metacpan.org/source/RPETTETT/ClearPress-v473.0.5/t/30-util-singleton.t#L63 relies too much on old base.pm behaviour. This can be verified today with bleadperl starting from commit v5.25.3-23-g38b4af1 or with 5.24.1-RC2 or 5.22.3-RC2. Short description: the '.' directory will not stay part of default @INC The matrix leads to quick links to sample fail reports in all three groups: http://matrix.cpantesters.org/?dist=ClearPress-v473.0.5 HTH&&Thanks,
Hold on, I seem to have spoken too quickly. My smoker just produced PASS reports with newer bleadperl. Maybe this ticket can be rejected/deleted.
On Wed Aug 10 01:48:56 2016, ANDK wrote: Show quoted text
> Hold on, I seem to have spoken too quickly. My smoker just produced > PASS reports with newer bleadperl. Maybe this ticket can be > rejected/deleted.
Tests pass for me, too.
D'oh! The test t/30-util-singleton.t is skipped when DBD::SQLite is missing. Having DBD::SQLite installed is crucial to demonstrate the effect. With DBD::SQLite ClearPress v473.0.5 sits in the same boat as https://rt.perl.org/Ticket/Display.html?id=128769
On Wed Aug 10 23:46:59 2016, ANDK wrote: Show quoted text
> D'oh! The test t/30-util-singleton.t is skipped when DBD::SQLite is > missing. > > Having DBD::SQLite installed is crucial to demonstrate the effect. > > With DBD::SQLite ClearPress v473.0.5 sits in the same boat as > https://rt.perl.org/Ticket/Display.html?id=128769
Yes, I can reproduce it now. As expected, a one-line patch fixes it.
Subject: open_L7AmU8Dk.txt
diff -rup ClearPress-v473.0.5-0-orig/t/30-util-singleton.t ClearPress-v473.0.5-0/t/30-util-singleton.t --- ClearPress-v473.0.5-0-orig/t/30-util-singleton.t 2016-06-16 15:46:55.000000000 -0700 +++ ClearPress-v473.0.5-0/t/30-util-singleton.t 2016-08-10 21:35:17.000000000 -0700 @@ -1,5 +1,6 @@ # -*- mode: cperl; tab-width: 8; indent-tabs-mode: nil; basic-offset: 2 -*- # vim:ts=8:sw=2:et:sta:sts=2 +use lib '.'; use strict; use warnings; use Test::More;
Thanks for the detailed reports & input folks. Should be resolved with latest.