From: Vincent Pit Date: Sun, 23 Oct 2011 10:16:56 +0000 (+0200) Subject: Port t/46-stress.t to Test::Leaner X-Git-Tag: v0.26~4 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=5cc9cb534a3573afabe6a4c009de680a58d34cd4;p=perl%2Fmodules%2Findirect.git Port t/46-stress.t to Test::Leaner This makes the test suite about 25% faster for a threaded perl. --- diff --git a/t/46-stress.t b/t/46-stress.t index cf474a8..40d5387 100644 --- a/t/46-stress.t +++ b/t/46-stress.t @@ -6,7 +6,8 @@ use warnings; my $count; BEGIN { $count = 1_000 } -use Test::More tests => 2 * $count; +use lib 't/lib'; +use Test::Leaner tests => 2 * $count; BEGIN { delete $ENV{PERL_INDIRECT_PM_DISABLE} }