Skip to content

Commit

Permalink
Temporarily remove three newly added tests
Browse files Browse the repository at this point in the history
They explode badly on the JVM. I'll revert this commit
after the release.
  • Loading branch information
usev6 committed Dec 20, 2017
1 parent ca5c3bd commit 24ebb03
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions t/nqp/100-dispatcher.t
@@ -1,4 +1,4 @@
plan(10);
plan(7);
my $closure;
{
nqp::setdispatcher(100);
Expand Down Expand Up @@ -60,22 +60,3 @@ nqp::setdispatcherfor(400, $wraped2);
$wraped1();
$wraped2();

sub take_or_clear($take) {
my $foo := 100;
if $take {
nqp::takedispatcher('$foo');
} else {
nqp::cleardispatcher();
}
$foo;
}

if nqp::getcomp('nqp').backend.name eq 'jvm' {
nqp::setdispatcherfor(400, &take_or_clear);
is(take_or_clear(1), 400);
nqp::setdispatcherfor(400, &take_or_clear);
is(take_or_clear(0), 100);
is(take_or_clear(1), 100);
} else {
skip('skip broken tests on the jvm', 3);
}

0 comments on commit 24ebb03

Please sign in to comment.