develooper Front page | | Postings from April 2015

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

Thread Previous | Thread Next
Chad Granum
April 26, 2015 14:02
Re: new Stream Test::Simple question, XS requirement
Message ID:
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.


On Sun, Apr 26, 2015 at 5:40 AM, Ricardo Signes <>

> * bulk88 <> [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 ../
>   1    151                       open:entry miniperl ../
>   2    151                       open:entry miniperl ../
>   3    151                       open:entry miniperl ../
>   3    151                       open:entry miniperl
> ../lib/unicore/
> --
> rjbs

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