Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fudge .loads related tests for now
  • Loading branch information
lizmat committed Apr 23, 2014
1 parent c6d9377 commit 3a83c5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions S17-concurrency/scheduler.t
Expand Up @@ -13,6 +13,7 @@ ok $*SCHEDULER ~~ Scheduler, "$name does Scheduler role";
}


#?rakudo skip "waiting for new '.loads' semantics"
{
my $x = False;
$*SCHEDULER.cue({
Expand All @@ -23,6 +24,7 @@ ok $*SCHEDULER ~~ Scheduler, "$name does Scheduler role";
ok $x, "Code was cued to $name by default";
}

#?rakudo skip "waiting for new '.loads' semantics"
{
my $message;
$*SCHEDULER.uncaught_handler = sub ($exception) {
Expand All @@ -33,6 +35,7 @@ ok $*SCHEDULER ~~ Scheduler, "$name does Scheduler role";
is $message, "oh noes", "$name setting uncaught_handler works";
}

#?rakudo skip "waiting for new '.loads' semantics"
{
my $tracker;
$*SCHEDULER.cue(
Expand All @@ -46,6 +49,7 @@ ok $*SCHEDULER ~~ Scheduler, "$name does Scheduler role";
is $tracker, "cued,caught", "Code run on $name, then handler";
}

#?rakudo skip "waiting for new '.loads' semantics"
{
my $tracker;
$*SCHEDULER.cue(
Expand Down

0 comments on commit 3a83c5f

Please sign in to comment.