X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FLeaner.pm;h=796a77bb20d65b599d8929db6b5fbc4706b18289;hb=ce70de09930c966ce0798f8daff3b971e9934cc5;hp=896582b187982b63bf3659f780e5ee5af2931b6e;hpb=c59e95160c3ba4aa516093a85225d9824863d619;p=perl%2Fmodules%2FTest-Leaner.git diff --git a/lib/Test/Leaner.pm b/lib/Test/Leaner.pm index 896582b..796a77b 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 @@ -46,7 +46,7 @@ L, L, L, L, L, L, L and L and L don't special case regular expressions that are passed as C<'/.../'> strings. -A string regexp argument is always treated as a the source of the regexp, making C and C equivalent to each other and to C (and likewise for C). +A string regexp argument is always treated as the source of the regexp, making C and C equivalent to each other and to C (and likewise for C). =item * @@ -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) {