X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind.pm;h=8bb041e229f500c2781960a9e99b3fa0ce1345f8;hb=77d53e292f2fdac4991d1d6c140f1edd79ff3afa;hp=483e713f5f03721a5c449e8a56fe22aefc2942d1;hpb=5bc70067584bc854d8e1c28fd376b732aee31c38;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind.pm b/lib/Test/Valgrind.pm index 483e713..8bb041e 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.11 +Version 1.13 =cut -our $VERSION = '1.11'; +our $VERSION = '1.13'; =head1 SYNOPSIS @@ -49,7 +49,9 @@ As such, it's complementary to the other very good leak detectors listed in the =head1 METHODS -=head2 C +=head2 C + + Test::Valgrind->analyse(%options); Run a C analysis configured by C<%options> : @@ -166,7 +168,7 @@ sub analyse { my $sess = eval { Test::Valgrind::Session->new( min_version => $tool->requires_version, - map { $_ => delete $args{$_} } qw/extra_supps no_def_supp/ + map { $_ => delete $args{$_} } qw ); }; unless ($sess) { @@ -194,7 +196,9 @@ sub analyse { return $status; } -=head2 C +=head2 C + + use Test::Valgrind %options; In the parent process, L calls L with the arguments it received itself - except that if no C option was supplied, it tries to pick the first caller context that looks like a script. When the analysis ends, it exits with the status returned by the action (for the default TAP-generator action, it's the number of failed tests). @@ -369,7 +373,7 @@ All you people that showed interest in this module, which motivated me into comp =head1 COPYRIGHT & LICENSE -Copyright 2008-2009 Vincent Pit, all rights reserved. +Copyright 2008,2009,2010,2011,2013 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.