X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FLeaner.pm;h=33650067115fab72c5794ab57a78455d6d4213a1;hb=2f062217460c40eef7ce43bf273e3f8c09e0673c;hp=896582b187982b63bf3659f780e5ee5af2931b6e;hpb=c59e95160c3ba4aa516093a85225d9824863d619;p=perl%2Fmodules%2FTest-Leaner.git diff --git a/lib/Test/Leaner.pm b/lib/Test/Leaner.pm index 896582b..3365006 100644 --- a/lib/Test/Leaner.pm +++ b/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) {