Disable some threads tests on m68k for now due to missing TLS.
authorJesse Vincent <jesse@bestpractical.com>
Wed, 8 Jun 2011 03:50:37 +0000 (23:50 -0400)
committerJesse Vincent <jesse@bestpractical.com>
Wed, 8 Jun 2011 03:50:37 +0000 (23:50 -0400)
A backport from downstream at Debian:

perl (5.14.0-1) debian/m68k_thread_stress.diff

Subject: Disable some threads tests on m68k for now due to missing TLS.
Closes: #495826, #517938

dist/threads-shared/t/stress.t
dist/threads-shared/t/waithires.t

index adfd1ed..8573f1a 100644 (file)
@@ -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;
index 3c3e852..349c5b4 100644 (file)
@@ -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;