Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a miscount in the number of skipped tests under Windows. Also

skip all tests when using Event, as it seems that Event +
thread-simulated fork() + re-entering the event loop = Breakage.
  • Loading branch information...
commit 47774359d25ee1d2c79018c43a9280337d826e22 1 parent 3de235b
@rcaputo authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 tests/30_loops/00_base/wheel_run.pm
View
6 tests/30_loops/00_base/wheel_run.pm
@@ -17,6 +17,10 @@ BEGIN {
$error = "$^O does not support fork";
}
+ if ($^O eq "MSWin32" and exists $INC{"Event.pm"}) {
+ $error = "$^O\'s fork() emulation breaks Event";
+ }
+
if ($error) {
plan skip_all => $error;
CORE::exit();
@@ -250,7 +254,7 @@ SKIP: {
my $pty_flush_count = 0;
SKIP: {
- skip "IO::Pty is needed for this test.", 3
+ skip "IO::Pty is needed for this test.", 2
unless POE::Wheel::Run::PTY_AVAILABLE;
skip "The underlying event loop has trouble with ptys on $^O", 2
Please sign in to comment.
Something went wrong with that request. Please try again.