X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind.pm;h=c76ce608707e037b051c8341d223e9bc0d70d55f;hb=d44c95e8e9820ee69e76506bde7c2c5fbe37b568;hp=aea4041747657ee681650ddd0a1e2d9d59d6dad7;hpb=0f8254a97856eefe03b0d47576fae8adcbc3212d;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind.pm b/lib/Test/Valgrind.pm index aea4041..c76ce60 100644 --- a/lib/Test/Valgrind.pm +++ b/lib/Test/Valgrind.pm @@ -9,11 +9,11 @@ Test::Valgrind - Generate suppressions, analyse and test any command with valgri =head1 VERSION -Version 1.01 +Version 1.10 =cut -our $VERSION = '1.01'; +our $VERSION = '1.10'; =head1 SYNOPSIS @@ -168,7 +168,9 @@ sub analyse { ); }; unless ($sess) { - $action->abort($sess, $@); + my $err = $@; + $err =~ s/^(Empty valgrind candidates list|No appropriate valgrind executable could be found)\s+at.*/$1/; + $action->abort($sess, $err); return $action->status($sess); } @@ -306,14 +308,14 @@ What your tests output to C and C is eaten unless you pass the C =head1 DEPENDENCIES -Valgrind 3.1.0 (L). - L, L, L, L, L. =head1 SEE ALSO All the C API, including L, L, L and L. +The C man page. + L. L, L, L.