From: Vincent Pit Date: Tue, 14 Apr 2015 16:17:05 +0000 (-0300) Subject: Stop forcefully loading Test::Leaner for the threads feature X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVPIT-TestHelpers.git;a=commitdiff_plain;h=d7e42b2c5a757b8f97751c8cfb4c14f95c6b4774;hp=c9ae9f1b1179b6241fed5883450f6a39a88ef5e7 Stop forcefully loading Test::Leaner for the threads feature Test::Leaner is more reliable than Test::More, but we need it here only for a diagnostic when tests are forced. As long as we don't plan, this should have no influence on the rest of the test, so let the user decide which module to use. --- diff --git a/lib/VPIT/TestHelpers.pm b/lib/VPIT/TestHelpers.pm index 01aff87..bae9785 100644 --- a/lib/VPIT/TestHelpers.pm +++ b/lib/VPIT/TestHelpers.pm @@ -568,10 +568,6 @@ L 1.67 L 1.14 -=item - - -L - =back =item * @@ -633,8 +629,6 @@ sub init_threads { load_or_skip_all 'threads', $force ? '0' : '1.67', [ ]; load_or_skip_all 'threads::shared', $force ? '0' : '1.14', [ ]; - require Test::Leaner; - diag "Threads testing forced by \$ENV{$force_var}" if $force; return spawn => \&spawn;