Files
poky/meta/recipes-devtools/perl/perl-5.12.3/debian/m68k_thread_stress.diff
Nitin A Kamble 829b985eb5 perl: upgrade from 5.12.2 to 5.12.3
And changed the perl tarball URL to more stable cpan location.

(From OE-Core rev: 3a08c401f298095840a2aee9079845f5ff434410)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28 10:44:22 +01:00

46 lines
1.4 KiB
Diff

Upstream-Status:Inappropriate [debian patch]
Subject: Disable some threads tests on m68k for now due to missing TLS.
Closes: #495826, #517938
---
dist/threads-shared/t/stress.t | 4 ++++
dist/threads-shared/t/waithires.t | 6 ++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t
index adfd1ed..8573f1a 100755
--- a/dist/threads-shared/t/stress.t
+++ b/dist/threads-shared/t/stress.t
@@ -11,6 +11,10 @@ BEGIN {
print("1..0 # SKIP Broken under HP-UX 10.20\n");
exit(0);
}
+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
+ exit(0);
+ }
}
use ExtUtils::testlib;
diff --git a/dist/threads-shared/t/waithires.t b/dist/threads-shared/t/waithires.t
index e3a1086..633374e 100755
--- a/dist/threads-shared/t/waithires.t
+++ b/dist/threads-shared/t/waithires.t
@@ -16,6 +16,12 @@ BEGIN {
if (! eval 'use Time::HiRes "time"; 1') {
Test::skip_all('Time::HiRes not available');
}
+
+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
+ exit(0);
+ }
+
}
use ExtUtils::testlib;
--
tg: (a508b62..) debian/m68k_thread_stress (depends on: upstream)