X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F02_thread.t;h=c5c4afe90cd982ea5405298c4d6c3cb8d73d7cbd;hb=1035e7c43d0f1fad25e611d33e65db671a787501;hp=4a7b6d018d7a9ee466674203298ef869e65a45d0;hpb=9a8f4463a129a883238c0b9eac49662fd4e191d7;p=p5sagit%2FDevel-GlobalDestruction.git diff --git a/t/02_thread.t b/t/02_thread.t index 4a7b6d0..c5c4afe 100644 --- a/t/02_thread.t +++ b/t/02_thread.t @@ -1,17 +1,4 @@ -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; - } -} +use t::threads_check; use threads; use threads::shared;