X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F40-threads.t;h=2215c592aaa3a72e739e4f1f11d08d3ac573ca4c;hb=4bd887f284d695d973ce89a5f40e6528561b2d6d;hp=9e4c11b1a7b97354e87fcccc23e2fa6cd8229f7f;hpb=b5acd232730bf91f384b43bc867ec1cb4d3dd147;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;