Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
In t/serialization/01-basic.t also detect when the js backend is usin…
…g 32bit integers.
  • Loading branch information
pmurias committed Oct 6, 2015
1 parent bd169fa commit a061c8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/serialization/01-basic.t
Expand Up @@ -445,7 +445,8 @@ sub round_trip_int_array($seq, $desc, @a) {
my int $b := 512;

while ($i < 63) {
if $i >= 31 && nqp::getcomp('nqp').backend.name eq 'parrot'
my $backend := nqp::getcomp('nqp').backend.name;
if $i >= 31 && ($backend eq 'parrot' || $backend eq 'js')
&& nqp::backendconfig(){"intvalsize"} < 8 {
todo("native NQP ints are only 32 bit on 32 bit parrot :-(", 1);
# Sadly this also means that the rest of the tests for these sizes
Expand Down

0 comments on commit a061c8f

Please sign in to comment.