develooper Front page | perl.qa | Postings from April 2015

Re: new Stream Test::Simple question, XS requirement

Thread Previous | Thread Next
From:
Chad Granum
Date:
April 26, 2015 14:02
Subject:
Re: new Stream Test::Simple question, XS requirement
Message ID:
CAJFr3ksv0dUei+RWCCGpAV-0Ef2ueaSVPytQssXqNMP8CEMn7Q@mail.gmail.com
For now I am going to add the minimum necessary Scalar::Util version to the
requirements list in Makefile.PL. This should meet the toolchain
requirement of supporting back to 5.8.1 as Scalar::Util is on cpan for
install in perl versions where it is too old. It also sounds like this is
not a blocker for putting new Test-Simple into core.

As for people on perls older than 5.8.5 that cannot update Scalar::Util due
to XS restrictions, or people who use newer perls but cannot load
Scalar::Util, I suspect that in practice it is exceedingly rare that anyone
in this position would want to update Test-Simple, let alone need to. For
now I am not going to put effort into making Test-Simple work without
Scalar::Util. If anybody comes to me and tells me they are in this
position, and asks for my help, I would be happy to work on it.

-Chad

On Sun, Apr 26, 2015 at 5:40 AM, Ricardo Signes <perl.qa@rjbs.manxome.org>
wrote:

> * bulk88 <bulk88@hotmail.com> [2015-04-25T23:56:23]
> > Because of the rjbs post that supposedly (someone else should confirm
> this)
> > minitest does not use Test::*, new Test::Simple can use all the XS it
> wants.
>
> Re-confirmation welcome!  For the record: My first check was scanning all
> the
> tests run by the minitest make target for 'use Test'.  Then I ran minitest
> with
> a dtrace probe for all files opened.  Only two files matching /Test/ were
> opened:
>
>   ~$ grep Test dtrace.log | sort | uniq
>   0    151                       open:entry miniperl ../TestInit.pm
>   1    151                       open:entry miniperl ../TestInit.pm
>   2    151                       open:entry miniperl ../TestInit.pm
>   3    151                       open:entry miniperl ../TestInit.pm
>   3    151                       open:entry miniperl
> ../lib/unicore/TestProp.pl
>
> --
> rjbs
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About