develooper Front page | perl.perl5.porters | Postings from March 2013

Re: [perl #116961] Data::Dumper 2.143 tests failures on 5.10.1

Thread Previous | Thread Next
David Golden
March 4, 2013 18:39
Re: [perl #116961] Data::Dumper 2.143 tests failures on 5.10.1
Message ID:
On Sun, Mar 3, 2013 at 9:03 PM, James E Keenan via RT
<> wrote:
> [Data-Dumper-2.143-9VJyiY] $ perl -Iblib/lib t/bless.t

Try 'perl -Mblib t/bless.t'

-Iblib/lib is not sufficient because it doesn't set up the
architecture specific library correctly

Regardless, if $Data::Dumper::Useperl is true after Data::Dumper is
loaded, tests MUST NOT override it to false to test XS.

My opinion is that there should be one set of tests that doesn't touch
Useperl.  It will be XS or pure perl depending on whether the XS

Then have another set of tests that localizes $Useperl to 1.  This
tests the pure perl variation.  Those tests can be skipped if $Useperl
is already 1.

Once all that is fixed, see if you still have problems wherever you
see them now.


David Golden <>
Take back your inbox! →
Twitter/IRC: @xdg

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