From: Vincent Pit Date: Fri, 31 Jul 2015 15:25:27 +0000 (-0300) Subject: Update VPIT::TestHelpers to ba865c42 X-Git-Tag: rt115392~8 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=2525e430a8237ae05256aab873dec162df56548d;p=perl%2Fmodules%2Findirect.git Update VPIT::TestHelpers to ba865c42 --- diff --git a/t/lib/VPIT/TestHelpers.pm b/t/lib/VPIT/TestHelpers.pm index 476ce9b..75ca216 100644 --- a/t/lib/VPIT/TestHelpers.pm +++ b/t/lib/VPIT/TestHelpers.pm @@ -600,6 +600,18 @@ C =back +=item * + +Notes : + +=over 8 + +=item - + +C<< exit => 'threads_only' >> is passed to C<< threads->import >>. + +=back + =back =cut @@ -644,7 +656,9 @@ sub init_threads { die "$test_module was loaded too soon" if defined $test_module; } - load_or_skip_all 'threads', $force ? '0' : '1.67', [ ]; + load_or_skip_all 'threads', $force ? '0' : '1.67', [ + exit => 'threads_only', + ]; load_or_skip_all 'threads::shared', $force ? '0' : '1.14', [ ]; diag "Threads testing forced by \$ENV{$force_var}" if $force;