Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add skips for tests that make nqp-moarvm blow up
  • Loading branch information
japhb committed Jun 4, 2013
1 parent a24fce5 commit cb84c62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions microbenchmarks.pl
Expand Up @@ -41,13 +41,15 @@
},
{
name => 'while_push_join',
skip => [qw( nqp-moarvm )],
scale => 1 << 7,
perl5 => 'my @a; my $i = 0; while (++$i <= SCALE) { push @a, "x" }; my $s = join "" => @a;',
perl6 => 'my @a; my $i = 0; while (++$i <= SCALE) { @a.push("x") }; my $s; $s = @a.join;',
nqp => 'my @a; my $i := 0; while ($i := $i + 1) <= SCALE { @a.push("x"); }; my $s := nqp::join("",@a);',
},
{
name => 'while_push',
skip => [qw( nqp-moarvm )],
scale => 1 << 7,
perl5 => 'my @a; my $i = 0; while (++$i <= SCALE) { push @a, 1 }',
perl6 => 'my @a; my $i = 0; while (++$i <= SCALE) { push @a, 1 }',
Expand All @@ -69,6 +71,7 @@
},
{
name => 'postwhile_nil',
skip => [qw( nqp-moarvm )],
scale => 1 << 10,
perl5 => 'my $i = -SCALE || exit(0); () while ++$i;',
perl6 => 'my $i = -SCALE || exit(0); Nil while ++$i;',
Expand Down
4 changes: 2 additions & 2 deletions minibenchmarks.pl
@@ -1,7 +1,7 @@
[
{
name => 'rc-forest-fire',
skip => [qw( niecza.nqp p6.pl p6.js_v8 )],
skip => [qw( niecza.nqp nqp-moarvm p6.pl p6.js_v8 )],
scale => 1 << 3,
x_label => 'Frames per Run',
y_label => 'Frames per Second',
Expand All @@ -11,7 +11,7 @@
},
{
name => 'rc-man-or-boy-test',
skip => [qw( )],
skip => [qw( nqp-moarvm )],
scale => 10,
scaling => 'linear',
x_label => 'k Parameter',
Expand Down

0 comments on commit cb84c62

Please sign in to comment.