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