X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FTool%2Fmemcheck.pm;h=3600937dcdaa4cb9520f5fc99f43e0f138e6d0a0;hb=93bdd32c84466f212aded61d70219e82cb538620;hp=7869f568861ebd32e8dd82c6fea4b3fdef75a490;hpb=270aacc7f116b97928f9d70ce7936dd9d0a78ce0;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Tool/memcheck.pm b/lib/Test/Valgrind/Tool/memcheck.pm index 7869f56..3600937 100644 --- a/lib/Test/Valgrind/Tool/memcheck.pm +++ b/lib/Test/Valgrind/Tool/memcheck.pm @@ -9,15 +9,15 @@ Test::Valgrind::Tool::memcheck - Run an analysis through the memcheck tool. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION -This tool parses the XML output of a C run with L. +This class contains the information required by the session for running the C tool. =cut @@ -75,7 +75,7 @@ sub suppressions_tag { 'memcheck-' . $_[1]->version } =head2 C -This tool uses a C parser in analysis mode, and a C parser in suppressions mode. +This tool uses a L parser in analysis mode, and a L parser in suppressions mode. =cut @@ -94,7 +94,7 @@ sub parser_class { =head2 C -This tool emits C object reports in analysis mode. +This tool emits C object reports in analysis mode, and C object reports in suppressions mode. =cut @@ -118,10 +118,8 @@ sub args { '--error-limit=yes', ); - unless ($sess->do_suppressions) { - push @args, '--track-origins=yes' if $sess->version ge '3.4.0'; - push @args, '--xml=yes'; - } + push @args, '--track-origins=yes' if $sess->version ge '3.4.0' + and not $sess->do_suppressions; push @args, $self->SUPER::args(@_); @@ -132,8 +130,6 @@ sub args { L, L. -L. - =head1 AUTHOR Vincent Pit, C<< >>, L. @@ -165,7 +161,7 @@ package Test::Valgrind::Tool::memcheck::Report; use base qw/Test::Valgrind::Report/; -our $VERSION = '1.02'; +our $VERSION = '1.10'; my @kinds = qw/ InvalidFree