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:
demerphq
Date:
March 7, 2013 10:26
Subject:
Re: [perl #116961] Data::Dumper 2.143 tests failures on 5.10.1
Message ID:
CANgJU+XjFE1F7yo28eKQeRAA=q2MwW_ncCzeiHMjVJNyqM-vig@mail.gmail.com
On 4 March 2013 19:38, David Golden <xdg@xdg.me> wrote:
> 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.

Unless DD has changed more than I think it is not just $Useperl that
overrides XS, it is also $Useqq.

Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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