From: Vincent Pit Date: Tue, 22 Sep 2009 18:43:39 +0000 (+0200) Subject: This is 1.10 X-Git-Tag: v1.10^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=08860dad1f820cce06758ec4add9353a4dbc8175;p=perl%2Fmodules%2FTest-Valgrind.git This is 1.10 --- diff --git a/Changes b/Changes index ad1a9a5..7fd2b0d 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,17 @@ Revision history for Test-Valgrind +1.10 2009-09-22 18:45 UTC + + Chg : valgrind is no longer required to be installed before installing + this module. + + Chg : The parser logic that used to be located inside the tool was + moved to a new Test::Valgrind::Parser hierarchy. The tool + decides which parser should be used by implementing the + "parser_class" method. + + Fix : Compatibility with valgrind 3.5. + + Fix : The "valgrind" option to Test::Valgrind::Session->new wasn't + doing anything. + + Fix : The "Test" action could generate inappropriate error messages. + 1.02 2009-05-02 12:05 UTC + Add : Commands can now be aggregated. + Add : The commands can now also filter and mangle reports. diff --git a/META.yml b/META.yml index fecbb23..5c31171 100644 --- a/META.yml +++ b/META.yml @@ -1,21 +1,14 @@ --- #YAML:1.0 name: Test-Valgrind -version: 1.02 +version: 1.10 abstract: Generate suppressions, analyse and test any command with valgrind. author: - Vincent Pit license: perl distribution_type: module configure_requires: - base: 0 - Carp: 0 - Config: 0 ExtUtils::MakeMaker: 0 - Fcntl: 0 File::Spec: 0 - POSIX: 0 - Scalar::Util: 0 - version: 0 build_requires: base: 0 Carp: 0 @@ -28,6 +21,7 @@ build_requires: File::Spec: 0 File::Temp: 0.14 Filter::Util::Call: 0 + List::Util: 0 Perl::Destruct::Level: 0 POSIX: 0 Scalar::Util: 0 @@ -46,11 +40,13 @@ requires: File::Spec: 0 File::Temp: 0.14 Filter::Util::Call: 0 + List::Util: 0 perl: 5.006 Perl::Destruct::Level: 0 POSIX: 0 Scalar::Util: 0 Test::Builder: 0 + Test::More: 0 version: 0 XML::Twig: 0 resources: @@ -62,7 +58,7 @@ no_index: directory: - t - inc -generated_by: ExtUtils::MakeMaker version 6.50 +generated_by: ExtUtils::MakeMaker version 6.54 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 diff --git a/README b/README index ad23d16..e34907e 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME with valgrind. VERSION - Version 1.02 + Version 1.10 SYNOPSIS # From the command-line diff --git a/lib/Test/Valgrind.pm b/lib/Test/Valgrind.pm index 1e563a8..ea43703 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.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 SYNOPSIS diff --git a/lib/Test/Valgrind/Action.pm b/lib/Test/Valgrind/Action.pm index d972db3..44b6a05 100644 --- a/lib/Test/Valgrind/Action.pm +++ b/lib/Test/Valgrind/Action.pm @@ -9,11 +9,11 @@ Test::Valgrind::Action - Base class for Test::Valgrind actions. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Action/Captor.pm b/lib/Test/Valgrind/Action/Captor.pm index dd4e269..d31fcbf 100644 --- a/lib/Test/Valgrind/Action/Captor.pm +++ b/lib/Test/Valgrind/Action/Captor.pm @@ -9,11 +9,11 @@ Test::Valgrind::Action::Captor - Mock Test::Valgrind::Action for capturing outpu =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Action/Suppressions.pm b/lib/Test/Valgrind/Action/Suppressions.pm index 4d666a7..af3439f 100644 --- a/lib/Test/Valgrind/Action/Suppressions.pm +++ b/lib/Test/Valgrind/Action/Suppressions.pm @@ -9,11 +9,11 @@ Test::Valgrind::Action::Suppressions - Generate suppressions for a given tool. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Action/Test.pm b/lib/Test/Valgrind/Action/Test.pm index 48d5906..67e122b 100644 --- a/lib/Test/Valgrind/Action/Test.pm +++ b/lib/Test/Valgrind/Action/Test.pm @@ -9,11 +9,11 @@ Test::Valgrind::Action::Test - Test that an analysis didn't generate any error r =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Carp.pm b/lib/Test/Valgrind/Carp.pm index 165004d..c4db130 100644 --- a/lib/Test/Valgrind/Carp.pm +++ b/lib/Test/Valgrind/Carp.pm @@ -9,11 +9,11 @@ Test::Valgrind::Carp - Carp-like private methods for Test::Valgrind objects. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; sub _croak { shift; diff --git a/lib/Test/Valgrind/Command.pm b/lib/Test/Valgrind/Command.pm index 3452047..2afa4b0 100644 --- a/lib/Test/Valgrind/Command.pm +++ b/lib/Test/Valgrind/Command.pm @@ -9,11 +9,11 @@ Test::Valgrind::Command - Base class for Test::Valgrind commands. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Command/Aggregate.pm b/lib/Test/Valgrind/Command/Aggregate.pm index 27d7fc8..136f1a2 100644 --- a/lib/Test/Valgrind/Command/Aggregate.pm +++ b/lib/Test/Valgrind/Command/Aggregate.pm @@ -9,11 +9,11 @@ Test::Valgrind::Command::Aggregate - A Test::Valgrind command that aggregates se =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Command/Perl.pm b/lib/Test/Valgrind/Command/Perl.pm index 675210e..9178a92 100644 --- a/lib/Test/Valgrind/Command/Perl.pm +++ b/lib/Test/Valgrind/Command/Perl.pm @@ -9,11 +9,11 @@ Test::Valgrind::Command::Perl - A Test::Valgrind command that invokes perl. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Command/PerlScript.pm b/lib/Test/Valgrind/Command/PerlScript.pm index 826d74c..18f5ee0 100644 --- a/lib/Test/Valgrind/Command/PerlScript.pm +++ b/lib/Test/Valgrind/Command/PerlScript.pm @@ -9,11 +9,11 @@ Test::Valgrind::Command::PerlScript - A Test::Valgrind command that invokes a pe =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Component.pm b/lib/Test/Valgrind/Component.pm index 3b7a570..ed212b9 100644 --- a/lib/Test/Valgrind/Component.pm +++ b/lib/Test/Valgrind/Component.pm @@ -9,11 +9,11 @@ Test::Valgrind::Component - Base class for Test::Valgrind components. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; use Scalar::Util (); diff --git a/lib/Test/Valgrind/Parser.pm b/lib/Test/Valgrind/Parser.pm index 217a0b1..c02d77f 100644 --- a/lib/Test/Valgrind/Parser.pm +++ b/lib/Test/Valgrind/Parser.pm @@ -9,11 +9,11 @@ Test::Valgrind::Parser - Base class for Test::Valgrind parsers. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Parser/Suppressions/Text.pm b/lib/Test/Valgrind/Parser/Suppressions/Text.pm index d84adbf..03a9556 100644 --- a/lib/Test/Valgrind/Parser/Suppressions/Text.pm +++ b/lib/Test/Valgrind/Parser/Suppressions/Text.pm @@ -9,11 +9,11 @@ Test::Valgrind::Parser::Suppressions::Text - Parse valgrind suppressions output =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Parser/Text.pm b/lib/Test/Valgrind/Parser/Text.pm index e8bb632..81c8f70 100644 --- a/lib/Test/Valgrind/Parser/Text.pm +++ b/lib/Test/Valgrind/Parser/Text.pm @@ -9,11 +9,11 @@ Test::Valgrind::Parser::Text - Parse valgrind output as a text stream. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Parser/XML.pm b/lib/Test/Valgrind/Parser/XML.pm index 4c28c20..0e92e18 100644 --- a/lib/Test/Valgrind/Parser/XML.pm +++ b/lib/Test/Valgrind/Parser/XML.pm @@ -9,11 +9,11 @@ Test::Valgrind::Parser::XML - Parse valgrind output as an XML stream. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Parser/XML/Twig.pm b/lib/Test/Valgrind/Parser/XML/Twig.pm index 29d0f96..bc0df39 100644 --- a/lib/Test/Valgrind/Parser/XML/Twig.pm +++ b/lib/Test/Valgrind/Parser/XML/Twig.pm @@ -3,7 +3,7 @@ package Test::Valgrind::Parser::XML::Twig; use strict; use warnings; -our $VERSION = '1.02'; +our $VERSION = '1.10'; use Scalar::Util (); @@ -127,7 +127,7 @@ sub handle_error { package Test::Valgrind::Parser::XML::Twig::Elt; -our $VERSION = '1.02'; +our $VERSION = '1.10'; BEGIN { require XML::Twig; } diff --git a/lib/Test/Valgrind/Report.pm b/lib/Test/Valgrind/Report.pm index ac4ad9e..9331cec 100644 --- a/lib/Test/Valgrind/Report.pm +++ b/lib/Test/Valgrind/Report.pm @@ -9,11 +9,11 @@ Test::Valgrind::Report - Base class for Test::Valgrind error reports. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; use base qw/Test::Valgrind::Carp/; diff --git a/lib/Test/Valgrind/Session.pm b/lib/Test/Valgrind/Session.pm index 47150e1..4b731fc 100644 --- a/lib/Test/Valgrind/Session.pm +++ b/lib/Test/Valgrind/Session.pm @@ -9,11 +9,11 @@ Test::Valgrind::Session - Test::Valgrind session object. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Suppressions.pm b/lib/Test/Valgrind/Suppressions.pm index 59c5355..cb3bd7a 100644 --- a/lib/Test/Valgrind/Suppressions.pm +++ b/lib/Test/Valgrind/Suppressions.pm @@ -9,11 +9,11 @@ Test::Valgrind::Suppressions - Generate suppressions for given tool and command. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Tool.pm b/lib/Test/Valgrind/Tool.pm index 54598a5..7560d52 100644 --- a/lib/Test/Valgrind/Tool.pm +++ b/lib/Test/Valgrind/Tool.pm @@ -9,11 +9,11 @@ Test::Valgrind::Tool - Base class for Test::Valgrind tools. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Tool/memcheck.pm b/lib/Test/Valgrind/Tool/memcheck.pm index 7869f56..fef177a 100644 --- a/lib/Test/Valgrind/Tool/memcheck.pm +++ b/lib/Test/Valgrind/Tool/memcheck.pm @@ -9,11 +9,11 @@ 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 @@ -165,7 +165,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