From: Vincent Pit Date: Sat, 26 Feb 2011 23:28:51 +0000 (+0100) Subject: Really include Test::Leaner 0.02 X-Git-Tag: v0.14~1 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScope-Upper.git;a=commitdiff_plain;h=bb599962d594880ba0069b297a293eacd95092d9 Really include Test::Leaner 0.02 --- 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) {