Skip to content

Commit

Permalink
Skip some tests on rakudo-j
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Jul 11, 2016
1 parent 09755fb commit e0146de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions S03-smartmatch/array-array.t
Expand Up @@ -63,6 +63,7 @@ plan 68;
#?niecza todo
ok ((1, 2, 3) ~~ @m), 'smartmatch List ~~ Array with dwim';

#?rakudo.jvm 2 skip 'NullPointerException'
ok (1 ~~ **,1,**), 'smartmatch with Array RHS co-erces LHS to list';
ok (1..10 ~~ **,5,**), 'smartmatch with Array RHS co-erces LHS to list';

Expand Down
2 changes: 1 addition & 1 deletion S06-advanced/recurse.t
Expand Up @@ -111,7 +111,7 @@ sub countdown_mod_named ($num) {
return $num, countdown_mod_named($n);
}


#?rakudo.jvm 8 skip 'wrong number of positionals passed down in countdown_mod_named'
is( countup_nomod_named(5).flat.join, "012345", "recursive count up: named param, no modified value");
is(countdown_nomod_named(5).flat.join, "543210", "recursive count down: named param, no modified value");
is( countup_nomod_unnamed(5).flat.join, "012345", "recursive count up: unnamed param, no modified value");
Expand Down
2 changes: 2 additions & 0 deletions S19-command-line/repl.t
Expand Up @@ -12,6 +12,7 @@ my $cmd = $*DISTRO.is-win
!! "echo 'exit(42)' | $*EXECUTABLE >/dev/null 2>&1";
is shell($cmd).exitcode, 42, 'exit(42) in executed REPL got run';

#?rakudo.jvm skip 'is_run_repl hangs on JVM'
{
# RT #119339
is_run_repl "say 069\nexit\n", {
Expand Down Expand Up @@ -51,6 +52,7 @@ is shell($cmd).exitcode, 42, 'exit(42) in executed REPL got run';
my $code-to-run = q/[1..99].map:{[$_%%5&&'fizz', $_%%3&&'buzz'].grep:Str}/
~ "\nsay 'We are still alive';\nexit\n";

#?rakudo.jvm skip 'is_run_repl hangs on JVM'
is_run_repl $code-to-run, {
out => /'Cannot resolve caller grep' .* 'We are still alive'/,
err => '',
Expand Down

0 comments on commit e0146de

Please sign in to comment.