X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2Flib%2FTest%2FLeaner.pm;h=33650067115fab72c5794ab57a78455d6d4213a1;hb=bb599962d594880ba0069b297a293eacd95092d9;hp=896582b187982b63bf3659f780e5ee5af2931b6e;hpb=053dfd24ee61e5bcae61562722bd1cb95ef84ac2;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/lib/Test/Leaner.pm b/t/lib/Test/Leaner.pm index 896582b..3365006 100644 --- a/t/lib/Test/Leaner.pm +++ b/t/lib/Test/Leaner.pm @@ -10,11 +10,11 @@ Test::Leaner - A slimmer Test::More for when you favor performance over complete =head1 VERSION -Version 0.01 +Version 0.02 =cut -our $VERSION = '0.01'; +our $VERSION = '0.02'; =head1 SYNOPSIS @@ -72,7 +72,11 @@ C, C, C, C, C, C, C= 5.008 and $INC{'threads.pm'}) { my $use_ithreads = do { require Config; @@ -759,7 +763,7 @@ sub BAIL_OUT { } END { - unless ($?) { + if ($main_process == $$ and not $?) { lock $plan if THREADSAFE; if (defined $plan) {