X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F40-threads.t;h=2215c592aaa3a72e739e4f1f11d08d3ac573ca4c;hb=23438375d18947cd5f9a8a055063e10af478c318;hp=9e4c11b1a7b97354e87fcccc23e2fa6cd8229f7f;hpb=201d2874479e003bb82662085516a07aa04391e2;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/t/40-threads.t b/t/40-threads.t index 9e4c11b..2215c59 100644 --- a/t/40-threads.t +++ b/t/40-threads.t @@ -3,6 +3,16 @@ use strict; use warnings; +use Config qw/%Config/; + +BEGIN { + if (!$Config{useithreads}) { + require Test::More; + Test::More->import; + plan(skip_all => 'This Perl wasn\'t built to support threads'); + } +} + use threads; # Before Test::More use threads::shared;