summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.12.3/debian/m68k_thread_stress.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/debian/m68k_thread_stress.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.3/debian/m68k_thread_stress.diff45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/debian/m68k_thread_stress.diff b/meta/recipes-devtools/perl/perl-5.12.3/debian/m68k_thread_stress.diff
new file mode 100644
index 0000000000..675c9aa03d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.3/debian/m68k_thread_stress.diff
@@ -0,0 +1,45 @@
1Upstream-Status:Inappropriate [debian patch]
2
3Subject: Disable some threads tests on m68k for now due to missing TLS.
4Closes: #495826, #517938
5
6
7---
8 dist/threads-shared/t/stress.t | 4 ++++
9 dist/threads-shared/t/waithires.t | 6 ++++++
10 2 files changed, 10 insertions(+), 0 deletions(-)
11
12diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t
13index adfd1ed..8573f1a 100755
14--- a/dist/threads-shared/t/stress.t
15+++ b/dist/threads-shared/t/stress.t
16@@ -11,6 +11,10 @@ BEGIN {
17 print("1..0 # SKIP Broken under HP-UX 10.20\n");
18 exit(0);
19 }
20+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
21+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
22+ exit(0);
23+ }
24 }
25
26 use ExtUtils::testlib;
27diff --git a/dist/threads-shared/t/waithires.t b/dist/threads-shared/t/waithires.t
28index e3a1086..633374e 100755
29--- a/dist/threads-shared/t/waithires.t
30+++ b/dist/threads-shared/t/waithires.t
31@@ -16,6 +16,12 @@ BEGIN {
32 if (! eval 'use Time::HiRes "time"; 1') {
33 Test::skip_all('Time::HiRes not available');
34 }
35+
36+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
37+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
38+ exit(0);
39+ }
40+
41 }
42
43 use ExtUtils::testlib;
44--
45tg: (a508b62..) debian/m68k_thread_stress (depends on: upstream)