]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
Port t/46-stress.t to Test::Leaner
authorVincent Pit <vince@profvince.com>
Sun, 23 Oct 2011 10:16:56 +0000 (12:16 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 23 Oct 2011 10:16:56 +0000 (12:16 +0200)
This makes the test suite about 25% faster for a threaded perl.

t/46-stress.t

index cf474a8377c01574dff059508d374d5ce4b68237..40d5387714306bc9c17f9886d5ec30a992db6051 100644 (file)
@@ -6,7 +6,8 @@ use warnings;
 my $count;
 BEGIN { $count = 1_000 }
 
 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} }
 
 
 BEGIN { delete $ENV{PERL_INDIRECT_PM_DISABLE} }