Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 7b159ab

Browse files
committed
cygwin: skip threads.t 3
panic: magic_killbackrefs apparently
1 parent 7c581bd commit 7b159ab

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ matrix:
2323
- platform: x86
2424
MSVC_VERSION: 14
2525
allow_failures:
26+
- CYGWIN: 1
2627
- MINGW: 1
2728
clone_depth: 1
2829
branches:

t/op/threads.t

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ BEGIN {
88

99
skip_all_without_config('useithreads');
1010
skip_all_if_miniperl("no dynamic loading on miniperl, no threads");
11+
#skip_all('cygwin') if $^O eq 'cygwin';
1112

1213
plan(30);
1314
}
@@ -42,7 +43,9 @@ EOI
4243
# test that we don't get:
4344
# panic: magic_killbackrefs.
4445
# Scalars leaked: 3
45-
fresh_perl_is(<<'EOI', 'ok', { }, 'weaken ref #2 under threads');
46+
SKIP: {
47+
skip "cygwin", 1 if $^O eq 'cygwin';
48+
fresh_perl_is(<<'EOI', 'ok', { }, 'weaken ref #2 under threads');
4649
package Foo;
4750
sub new { bless {},shift }
4851
package main;
@@ -54,6 +57,7 @@ weaken $ref;
5457
threads->create(sub { $ref = $object } )->join; # $ref = $object causes problems
5558
print "ok";
5659
EOI
60+
}
5761

5862
#PR30333 - sort() crash with threads
5963
sub mycmp { length($b) <=> length($a) }

0 commit comments

Comments
 (0)