Skip to content

Commit 3a84c35

Browse files
committed
Increase Parrot recursion limit for nqp/rc-man-or-boy-test to same limit that Rakudo sets internally; move from 9 to 16 for standard rc-man-or-boy-test
1 parent dab496f commit 3a84c35

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

nqp/rc-man-or-boy-test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Increase Parrot recursion limit
2+
pir::getinterp__P().recursion_limit(100000);
3+
14
sub A ($k, $x1, $x2, $x3, $x4, $x5) {
25
my $B := sub () { A(--$k, $B, $x1, $x2, $x3, $x4) };
36
$k <= 0 ?? $x4() + $x5() !! $B();

timeall

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ my %TESTS = (
168168
{
169169
name => 'rc-man-or-boy-test',
170170
skip => [qw( )],
171-
perl5 => [qw( BENCH/perl5/rc-man-or-boy-test 9 )],
172-
perl6 => [qw( BENCH/perl6/rc-man-or-boy-test 9 )],
173-
nqp => [qw( BENCH/nqp/rc-man-or-boy-test 9 )],
171+
perl5 => [qw( BENCH/perl5/rc-man-or-boy-test 16 )],
172+
perl6 => [qw( BENCH/perl6/rc-man-or-boy-test 16 )],
173+
nqp => [qw( BENCH/nqp/rc-man-or-boy-test 16 )],
174174
},
175175
],
176176
);

0 commit comments

Comments
 (0)