summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.20.0/debian/hurd_test_skip_stack.diff
diff options
context:
space:
mode:
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.diff32
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 @@
1From 651aaac47361c03d15681b6cfdba0056a348fbb7 Mon Sep 17 00:00:00 2001
2From: Dominic Hargreaves <dom@earth.li>
3Date: Sun, 27 Nov 2011 16:27:07 +0000
4Subject: Disable failing GNU/Hurd tests dist/threads/t/stack.t
5
6These tests fail on GNU/Hurd owing to libpthread using fixed-size stacks.
7This is a known limitation that should get fixed in the future.
8
9For now, disable the tests.
10
11Bug-Debian: http://bugs.debian.org/650175
12
13Patch-Name: debian/hurd_test_skip_stack.diff
14---
15 dist/threads/t/stack.t | 4 ++++
16 1 file changed, 4 insertions(+)
17
18diff --git a/dist/threads/t/stack.t b/dist/threads/t/stack.t
19index 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;