Skip to content

Commit

Permalink
skip tests that hangs on Windows XP
Browse files Browse the repository at this point in the history
  • Loading branch information
chorny committed Dec 7, 2014
1 parent b227148 commit 6bd908a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/26fork.t
Expand Up @@ -9,6 +9,15 @@ if($^O =~ /MSWin32/i && $Config{useithreads} ne 'define') {
plan skip_all => 'fork() not implemented';
exit 0;
}
if($^O =~ /MSWin32/i) {
require Win32;
my (undef, $major) = Win32::GetOSVersion();
if ($major <= 5) {
plan skip_all => 'tests hang on Windows XP';
exit 0;
}
}


my $pid = fork;
eval { Inline->bind(C => 'int add(int x, int y) { return x + y; }'); };
Expand Down

0 comments on commit 6bd908a

Please sign in to comment.