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
From:
David Golden
Date:
March 4, 2013 18:39
Subject:
Re: [perl #116961] Data::Dumper 2.143 tests failures on 5.10.1
Message ID:
CAOeq1c8YKbdkCbLrLUswn-CoZ75m88oW2s8bHTrzyecjr-iBBA@mail.gmail.com
On Sun, Mar 3, 2013 at 9:03 PM, James E Keenan via RT
<perlbug-followup@perl.org> 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
works.

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

-- 
David Golden <xdg@xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg

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