diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.20.0/debian/hurd_test_skip_stack.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.20.0/debian/hurd_test_skip_stack.diff | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.20.0/debian/hurd_test_skip_stack.diff b/meta/recipes-devtools/perl/perl-5.20.0/debian/hurd_test_skip_stack.diff new file mode 100644 index 0000000000..66208a2661 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.20.0/debian/hurd_test_skip_stack.diff | |||
@@ -0,0 +1,32 @@ | |||
1 | From 651aaac47361c03d15681b6cfdba0056a348fbb7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Dominic Hargreaves <dom@earth.li> | ||
3 | Date: Sun, 27 Nov 2011 16:27:07 +0000 | ||
4 | Subject: Disable failing GNU/Hurd tests dist/threads/t/stack.t | ||
5 | |||
6 | These tests fail on GNU/Hurd owing to libpthread using fixed-size stacks. | ||
7 | This is a known limitation that should get fixed in the future. | ||
8 | |||
9 | For now, disable the tests. | ||
10 | |||
11 | Bug-Debian: http://bugs.debian.org/650175 | ||
12 | |||
13 | Patch-Name: debian/hurd_test_skip_stack.diff | ||
14 | --- | ||
15 | dist/threads/t/stack.t | 4 ++++ | ||
16 | 1 file changed, 4 insertions(+) | ||
17 | |||
18 | diff --git a/dist/threads/t/stack.t b/dist/threads/t/stack.t | ||
19 | index cfd6cf7..84cc527 100644 | ||
20 | --- a/dist/threads/t/stack.t | ||
21 | +++ b/dist/threads/t/stack.t | ||
22 | @@ -7,6 +7,10 @@ BEGIN { | ||
23 | print("1..0 # SKIP Perl not compiled with 'useithreads'\n"); | ||
24 | exit(0); | ||
25 | } | ||
26 | + if ($^O eq 'gnu') { | ||
27 | + print("1..0 # SKIP fails on GNU/Hurd (Debian #650175)\n"); | ||
28 | + exit(0); | ||
29 | + } | ||
30 | } | ||
31 | |||
32 | use ExtUtils::testlib; | ||