develooper Front page | perl.perl5.porters | Postings from October 2017

Re: CPAN module updates

Thread Previous | Thread Next
Steve Hay via perl5-porters
October 2, 2017 17:02
Re: CPAN module updates
Message ID:
[Resending with attachment now gzipped - it was originally rejected as
being too large]

On 21 September 2017 at 17:40, Father Chrysostomos <> wrote:
> Some time ago, we had a volunteer who would update blead with new
> releases of dual-life CPAN modules on a regular basis.  Recently that
> has not been happening.  Test::Simple in blead, for example, is about
> twenty releases behind CPAN.
> We need a new volunteer who would be willing to take on this
> task.  I would be willing myself, but quite frankly I just do not
> have the time.
> Nevertheless, if someone would point me to a set of instructions
> (I have never done this before), I would like to update at least
> Test::Simple myself, since it has recently been fixed to work with
> blead changes that I am about to make.

The attached patch updates to the latest Test-Simple.

I was intending to push this, but I'm getting a failure in lib/B/Deparse.t:

../lib/B/Deparse.t .. 253/? # Failed test 259 - sub calls compiled before import
ation of prototype subs at ../lib/B/Deparse.t line 344
#      got 'Can\'t dup fileno -1: Bad file descriptor at ../lib/Test2/ li
ne 181.\nCompilation failed in require at ../lib/Test/ line 18.\nBEGIN
 failed--compilation aborted at ../lib/Test/ line 18.\nCompilation fai
led in require at ../lib/Test/Builder/ line 5.\nBEGIN failed--compilati
on aborted at ../lib/Test/Builder/ line 5.\nCompilation failed in requi
re at ../lib/Test/ line 22.\nBEGIN failed--compilation aborted at ../lib/
Test/ line 22.\nCompilation failed in require at -e line 2.\nBEGIN failed
--compilation aborted at -e line 5.\nsub BEGIN {\n    require Test::More;\n    \
'Test::More\'->import;\n    is(*foo, *foo);\n}\n'
# expected /(?^:&is\()/
../lib/B/Deparse.t .. Failed 1/279 subtests
        (less 2 skipped subtests: 276 okay)

The test in question is this:

# Sub calls compiled before importation
like runperl(stderr => 1, switches => [ '-MO=-qq,Deparse', $path ],
             prog => 'BEGIN {
                       require Test::More;
                       is(*foo, *foo)
    'sub calls compiled before importation of prototype subs';

I'm not sure what's going wrong here. Can any Test-Simple gurus assist?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About