Skip to content

Commit

Permalink
[JVM] Some more fudges for Proc::Async
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed May 29, 2018
1 parent 619e552 commit 91b661f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions S17-procasync/encoding.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ plan 13;
$proc.stdout.tap(quit => { $quit = True });
$proc.stderr.tap(quit => { $oops = True });
await $proc.start;
#?rakudo.jvm todo 'unknown problem'
ok $quit, 'stdout Supply quit on encoding error';
nok $oops, 'No bogus quit on stderr Supply';
}
Expand All @@ -21,6 +22,7 @@ plan 13;
$proc.stdout.tap(quit => { $oops = True });
$proc.stderr.tap(quit => { $quit = True });
await $proc.start;
#?rakudo.jvm todo 'unknown problem'
ok $quit, 'stderr Supply quit on encoding error';
nok $oops, 'No bogus quit on stdout Supply';
}
Expand Down
2 changes: 2 additions & 0 deletions S17-procasync/stress.t
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ for 1..10 {
# to repro the bug this is covering (bug present in 2017 commit ce12e480316
# RT #131763
if run :!out, :!err, «echo test» {
#?rakudo.jvm todo 'hangs'
doesn't-hang
for ^100 {
my $proc = Proc::Async.new: «echo test»;
Expand All @@ -75,6 +76,7 @@ else {
# produces output too slowly to trigger the bug (bug is present in 2016.10
# rakudo release). So we use `perl` here for that.
if run :!out, :!err, «perl -e 'print 42'» {
#?rakudo.jvm todo 'Unknown encoding utf8-c8'
is_run
react {
my $null = $*SPEC.devnull.&open: :w;
Expand Down
1 change: 0 additions & 1 deletion S17-supply/syntax.t
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ plan 83;
is $i, 3, 'blockless react/whenever works';
}

#?rakudo.jvm skip 'hangs'
{
my $trigger1 = Supplier.new;
my $trigger2 = Supplier.new;
Expand Down

0 comments on commit 91b661f

Please sign in to comment.