From: Vincent Pit Date: Thu, 12 Nov 2015 23:27:01 +0000 (-0200) Subject: This is 1.16 X-Git-Tag: v1.16^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=3a312e2c6e7fdc7be70dcc8ccca604e7c62699f5;p=perl%2Fmodules%2FTest-Valgrind.git This is 1.16 --- diff --git a/Changes b/Changes index 45f04cd..5434038 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,28 @@ Revision history for Test-Valgrind +1.16 2015-11-12 23:30 UTC + + Chg : The Test::Valgrind tests will now be skipped when the default + and user-supplied suppressions files do not refer to any perl- + related symbol. This behaviour can be overridden by passing + 'allow_no_supp => 1' to Test::Valgrind->import. + This fixes the following RT issue. + + Fix : [RT #101934] : t/20-bad.t failing on armv7hl + While the root cause of this issue is probably not at + Test::Valgrind's level, it should nevertheless not run the + tests when the suppression files are obviously insufficient. + Thanks Paul Howarth for reporting and providing helpful + feedback. + + Fix : The accuracy of the default perl suppression file has been + improved. + + Fix : The tests will be more reliably skipped when no valgrind or + no suppressions are found. + + Fix : Segmentation faults during the analysis are now more gracefully + handled. + + Fix : 'no_def_supp => 1' will no longer cause the extra suppressions + to be ignored. + + Tst : t/20-bad.t will no longer run the extra tests when no valgrind + can be found (this was a regression in version 1.15). + 1.15 2015-10-30 16:15 UTC + Add : The new 'regen_def_supp' option can be passed to Test::Valgrind->import to forcefully regenerate the default diff --git a/META.json b/META.json index 670c79e..1516d15 100644 --- a/META.json +++ b/META.json @@ -33,6 +33,7 @@ "File::Spec" : "0", "File::Temp" : "0.14", "Filter::Util::Call" : "0", + "IO::Select" : "0", "List::Util" : "0", "POSIX" : "0", "Perl::Destruct::Level" : "0", @@ -67,6 +68,7 @@ "File::Spec" : "0", "File::Temp" : "0.14", "Filter::Util::Call" : "0", + "IO::Select" : "0", "List::Util" : "0", "POSIX" : "0", "Perl::Destruct::Level" : "0", @@ -93,6 +95,6 @@ "url" : "http://git.profvince.com/?p=perl%2Fmodules%2FTest-Valgrind.git" } }, - "version" : "1.15", + "version" : "1.16", "x_serialization_backend" : "JSON::PP version 2.27300" } diff --git a/META.yml b/META.yml index 5ffdf2b..cb443c4 100644 --- a/META.yml +++ b/META.yml @@ -14,6 +14,7 @@ build_requires: File::Spec: '0' File::Temp: '0.14' Filter::Util::Call: '0' + IO::Select: '0' List::Util: '0' POSIX: '0' Perl::Destruct::Level: '0' @@ -52,6 +53,7 @@ requires: File::Spec: '0' File::Temp: '0.14' Filter::Util::Call: '0' + IO::Select: '0' List::Util: '0' POSIX: '0' Perl::Destruct::Level: '0' @@ -67,5 +69,5 @@ resources: homepage: http://search.cpan.org/dist/Test-Valgrind/ license: http://dev.perl.org/licenses/ repository: http://git.profvince.com/?p=perl%2Fmodules%2FTest-Valgrind.git -version: '1.15' +version: '1.16' x_serialization_backend: 'CPAN::Meta::YAML version 0.016' diff --git a/README b/README index c4bc72d..899afa7 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME with valgrind. VERSION - Version 1.15 + Version 1.16 SYNOPSIS # From the command-line @@ -84,7 +84,7 @@ METHODS error. Raising this number improves granularity. Ignored if you supply your own custom "tool", otherwise defaults to - 12. + 50. * "diag => $bool" @@ -105,6 +105,13 @@ METHODS Defaults to false. + * "allow_no_supp => $bool" + + If true, force running the analysis even if the suppression files do + not refer to any "perl"-related symbol. + + Defaults to false. + * "extra_supps => \@files" Also use suppressions from @files besides "perl"'s. diff --git a/lib/Test/Valgrind.pm b/lib/Test/Valgrind.pm index 9b233c7..d2bbb25 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 SYNOPSIS diff --git a/lib/Test/Valgrind/Action.pm b/lib/Test/Valgrind/Action.pm index ca3fbd2..7f28f96 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Action/Captor.pm b/lib/Test/Valgrind/Action/Captor.pm index 9045092..fc4f0cb 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Action/Suppressions.pm b/lib/Test/Valgrind/Action/Suppressions.pm index 6c34860..e6becbf 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Action/Test.pm b/lib/Test/Valgrind/Action/Test.pm index 1b2187b..51223cf 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Carp.pm b/lib/Test/Valgrind/Carp.pm index df4752d..9ab359a 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Command.pm b/lib/Test/Valgrind/Command.pm index be786e9..b871cc5 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Command/Aggregate.pm b/lib/Test/Valgrind/Command/Aggregate.pm index 1e5eba7..4daf1d9 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Command/Perl.pm b/lib/Test/Valgrind/Command/Perl.pm index 939e1cc..60e28c0 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Command/PerlScript.pm b/lib/Test/Valgrind/Command/PerlScript.pm index f81ee2f..9aeac0d 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Component.pm b/lib/Test/Valgrind/Component.pm index 3f29eeb..4dae716 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Parser.pm b/lib/Test/Valgrind/Parser.pm index 8e89953..89d9776 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Parser/Suppressions/Text.pm b/lib/Test/Valgrind/Parser/Suppressions/Text.pm index 3e1fc31..26fb408 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Parser/Text.pm b/lib/Test/Valgrind/Parser/Text.pm index d697a9c..485cc6c 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Parser/XML.pm b/lib/Test/Valgrind/Parser/XML.pm index 83e2cdd..b3a3b1f 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Parser/XML/Twig.pm b/lib/Test/Valgrind/Parser/XML/Twig.pm index c58cf10..3d28b90 100644 --- a/lib/Test/Valgrind/Parser/XML/Twig.pm +++ b/lib/Test/Valgrind/Parser/XML/Twig.pm @@ -9,11 +9,11 @@ Test::Valgrind::Parser::XML::Twig - Parse valgrind XML output with XML::Twig. =head1 VERSION -Version 1.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION @@ -190,7 +190,7 @@ This program is free software; you can redistribute it and/or modify it under th package Test::Valgrind::Parser::XML::Twig::Elt; -our $VERSION = '1.15'; +our $VERSION = '1.16'; BEGIN { require XML::Twig; } diff --git a/lib/Test/Valgrind/Report.pm b/lib/Test/Valgrind/Report.pm index c3b0e65..c64cb37 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Session.pm b/lib/Test/Valgrind/Session.pm index 99f8314..1f6cf21 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Suppressions.pm b/lib/Test/Valgrind/Suppressions.pm index a125839..5e56955 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Tool.pm b/lib/Test/Valgrind/Tool.pm index 0961fb8..643f4b5 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Tool/memcheck.pm b/lib/Test/Valgrind/Tool/memcheck.pm index b46fce1..7b97246 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.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION @@ -180,7 +180,7 @@ package Test::Valgrind::Tool::memcheck::Report; use base qw; -our $VERSION = '1.15'; +our $VERSION = '1.16'; my @kinds = qw< InvalidFree diff --git a/lib/Test/Valgrind/Util.pm b/lib/Test/Valgrind/Util.pm index 441ce69..a6a6bd7 100644 --- a/lib/Test/Valgrind/Util.pm +++ b/lib/Test/Valgrind/Util.pm @@ -9,11 +9,11 @@ Test::Valgrind::Util - Utility routines for Test::Valgrind. =head1 VERSION -Version 1.15 +Version 1.16 =cut -our $VERSION = '1.15'; +our $VERSION = '1.16'; =head1 DESCRIPTION