cope better with broken threads
[p5sagit/Devel-GlobalDestruction.git] / t / 05_thread_clone.t
index f2c939f..95b9b58 100644 (file)
@@ -1,21 +1,7 @@
+use t::threads_check;
 use strict;
 use warnings;
 
-use Config;
-BEGIN {
-  unless ($Config{useithreads}) {
-    print "1..0 # SKIP your perl does not support ithreads\n";
-    exit 0;
-  }
-}
-
-BEGIN {
-  unless (eval { require threads }) {
-    print "1..0 # SKIP threads.pm not installed\n";
-    exit 0;
-  }
-}
-
 BEGIN {
   if ($ENV{DEVEL_GLOBALDESTRUCTION_PP_TEST}) {
     unshift @INC, sub {