Skip to content

Commit

Permalink
Skip 64bit on 32bit platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Nov 10, 2017
1 parent eb53ce2 commit 47694a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S03-operators/bit.t
Expand Up @@ -136,7 +136,7 @@ plan 54;
#if ("ok \x{FF}\xFF\n" ~& "ok 42\n" eq "ok 42\n") { say "ok 20" } else { say "not ok 20" }

# RT#125466 - bitwise shift consistency on int
{
if $?BITS >= 64 {
my int $int_min = -9223372036854775808; # int.Range.min for 64bit
my int $int_max = 9223372036854775807; # int.Range.max for 64bit

Expand All @@ -159,6 +159,9 @@ plan 54;
is($int_max +< 2, 36893488147419103228);
is($int_max +< -2, 2305843009213693951);
}
else {
skip("this test doesn't make sense 32bit platforms", 14);
}

# RT#126942
# RT#131278
Expand Down

0 comments on commit 47694a5

Please sign in to comment.