]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/commitdiff
This is 1.16 v1.16
authorVincent Pit <perl@profvince.com>
Thu, 12 Nov 2015 23:27:01 +0000 (21:27 -0200)
committerVincent Pit <perl@profvince.com>
Thu, 12 Nov 2015 23:27:01 +0000 (21:27 -0200)
26 files changed:
Changes
META.json
META.yml
README
lib/Test/Valgrind.pm
lib/Test/Valgrind/Action.pm
lib/Test/Valgrind/Action/Captor.pm
lib/Test/Valgrind/Action/Suppressions.pm
lib/Test/Valgrind/Action/Test.pm
lib/Test/Valgrind/Carp.pm
lib/Test/Valgrind/Command.pm
lib/Test/Valgrind/Command/Aggregate.pm
lib/Test/Valgrind/Command/Perl.pm
lib/Test/Valgrind/Command/PerlScript.pm
lib/Test/Valgrind/Component.pm
lib/Test/Valgrind/Parser.pm
lib/Test/Valgrind/Parser/Suppressions/Text.pm
lib/Test/Valgrind/Parser/Text.pm
lib/Test/Valgrind/Parser/XML.pm
lib/Test/Valgrind/Parser/XML/Twig.pm
lib/Test/Valgrind/Report.pm
lib/Test/Valgrind/Session.pm
lib/Test/Valgrind/Suppressions.pm
lib/Test/Valgrind/Tool.pm
lib/Test/Valgrind/Tool/memcheck.pm
lib/Test/Valgrind/Util.pm

diff --git a/Changes b/Changes
index 45f04cdd45710b3d4738c3cd4be2ec595f6e1cb1..543403824bb7453de90872a4672e6287062136c0 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,28 @@
 Revision history for Test-Valgrind
 
 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
 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
index 670c79efcf86ce463c7f1d06e981179f79845eda..1516d15f4babb35ff033d315475b6276fa0d8159 100644 (file)
--- a/META.json
+++ b/META.json
@@ -33,6 +33,7 @@
             "File::Spec" : "0",
             "File::Temp" : "0.14",
             "Filter::Util::Call" : "0",
             "File::Spec" : "0",
             "File::Temp" : "0.14",
             "Filter::Util::Call" : "0",
+            "IO::Select" : "0",
             "List::Util" : "0",
             "POSIX" : "0",
             "Perl::Destruct::Level" : "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",
             "File::Spec" : "0",
             "File::Temp" : "0.14",
             "Filter::Util::Call" : "0",
+            "IO::Select" : "0",
             "List::Util" : "0",
             "POSIX" : "0",
             "Perl::Destruct::Level" : "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"
       }
    },
          "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"
 }
    "x_serialization_backend" : "JSON::PP version 2.27300"
 }
index 5ffdf2b30fef0a169ed71c29a6b6ef00ef474cd8..cb443c42c071c56b644460e39f3624357a5aefd5 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -14,6 +14,7 @@ build_requires:
   File::Spec: '0'
   File::Temp: '0.14'
   Filter::Util::Call: '0'
   File::Spec: '0'
   File::Temp: '0.14'
   Filter::Util::Call: '0'
+  IO::Select: '0'
   List::Util: '0'
   POSIX: '0'
   Perl::Destruct::Level: '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'
   File::Spec: '0'
   File::Temp: '0.14'
   Filter::Util::Call: '0'
+  IO::Select: '0'
   List::Util: '0'
   POSIX: '0'
   Perl::Destruct::Level: '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
   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'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
diff --git a/README b/README
index c4bc72dd408e4141acbf8971e9134ea56ec33571..899afa769dbd3b0ea7ab5afa4d3217d67a8f876a 100644 (file)
--- a/README
+++ b/README
@@ -3,7 +3,7 @@ NAME
     with valgrind.
 
 VERSION
     with valgrind.
 
 VERSION
-    Version 1.15
+    Version 1.16
 
 SYNOPSIS
         # From the command-line
 
 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
         error. Raising this number improves granularity.
 
         Ignored if you supply your own custom "tool", otherwise defaults to
-        12.
+        50.
 
     *   "diag => $bool"
 
 
     *   "diag => $bool"
 
@@ -105,6 +105,13 @@ METHODS
 
         Defaults to false.
 
 
         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.
     *   "extra_supps => \@files"
 
         Also use suppressions from @files besides "perl"'s.
index 9b233c73e9371553de86006a01ae275031133b19..d2bbb25ea1bb88a2f8176e1d77390a18ed86d796 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind - Generate suppressions, analyse and test any command with valgri
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 SYNOPSIS
 
 
 =head1 SYNOPSIS
 
index ca3fbd2abd3460ef341d3a9cf212d804e64c73fc..7f28f96936a75944b02910b323fef0df603e4fcb 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Action - Base class for Test::Valgrind actions.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 90450927c5618a8d65d12cc9271ecf58976efe0d..fc4f0cbc4b4cf0a0aef48a239bebc9fcecaa7d24 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Action::Captor - Mock Test::Valgrind::Action for capturing outpu
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 6c34860b4c907628d4fd4b4a92d9b07635fb2aa5..e6becbf44c1fc54bbff4120325006a9c90942e4c 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Action::Suppressions - Generate suppressions for a given tool.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 1b2187b713af5e1a81dc96d27a950959eae23ba2..51223cf2736fc13f2591598cc91bb4288022d25f 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Action::Test - Test that an analysis didn't generate any error r
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index df4752d01d28d24bfe91c71942a10e319c04b08b..9ab359aa86d0635c3720aacb03848e1c15244591 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Carp - Carp-like private methods for Test::Valgrind objects.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index be786e9d281542d59f104acd202658dd8de75a55..b871cc57f3d58532044c3692eb59ff53a2bf465e 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Command - Base class for Test::Valgrind commands.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 1e5eba775aade102e0320cbd2fde6bc7fae3df3a..4daf1d9907a3b5489a2613fed275bda04f112072 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Command::Aggregate - A Test::Valgrind command that aggregates se
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 939e1ccc86f9f66d13b058a01d5ff78c3802c564..60e28c091b616fa6f79ad67bd3ecc54ef00a916c 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Command::Perl - A Test::Valgrind command that invokes perl.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index f81ee2f44e2c810028be7f31bbfaec97d66895f8..9aeac0d72faa76c49909921c5eaf1a61fca16293 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Command::PerlScript - A Test::Valgrind command that invokes a pe
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 3f29eebb3c884c9e64e11910cfcaa7ce7b0d97b7..4dae7165ecae3c5721440391a1598d8541576a82 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Component - Base class for Test::Valgrind components.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 8e89953c5ebb15cd6e3a738dfcb3e4cbcd8648c6..89d9776fd714dbb9faab4f76107ad4399515e0a1 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Parser - Base class for Test::Valgrind parsers.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 3e1fc31579e7a8a686790a98d271b033c1184700..26fb4089206759e2e3b19f7afda2b8461b422b32 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Parser::Suppressions::Text - Parse valgrind suppressions output
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index d697a9c06ba07b395c1fe2b18fd0e33b3d6d9a94..485cc6c1171c61a04c54d5cf594815ed024be75e 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Parser::Text - Parse valgrind output as a text stream.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 83e2cdd49771c3198ad030d64b217c843b4b97d5..b3a3b1f8d062329cf80ab80916c266eb35597688 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Parser::XML - Parse valgrind output as an XML stream.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index c58cf103ce5603cdc4c9edef36ce046024a4fe47..3d28b90be68db94a8f470c1398fda329fed47a2b 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Parser::XML::Twig - Parse valgrind XML output with XML::Twig.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =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;
 
 
 package Test::Valgrind::Parser::XML::Twig::Elt;
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 BEGIN { require XML::Twig; }
 
 
 BEGIN { require XML::Twig; }
 
index c3b0e6593be925bb2096c54b6feaff60ad8107ea..c64cb37a8c4a3330382dab4cbfa1b784457e0e96 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Report - Base class for Test::Valgrind error reports.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 99f83149692341554d5bb428ac1bda14867413a5..1f6cf21f332dc1415b886214062d6ebf0d56579a 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Session - Test::Valgrind session object.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index a125839a6dff017fee51fd0e9804c66c7ebd80e0..5e5695530c93a54dcfeed9fd1a956122345c3d28 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Suppressions - Generate suppressions for given tool and command.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index 0961fb8c896d867589ff3b080000e0025f4141e0..643f4b56c6ca8dadce594379aeb15804eb8227b3 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Tool - Base class for Test::Valgrind tools.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
index b46fce1846ae62ff985806dff6cdb8fd0a07b59b..7b972461f51e611583b1fd318811dd3acbf522bf 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Tool::memcheck - Run an analysis through the memcheck tool.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
@@ -180,7 +180,7 @@ package Test::Valgrind::Tool::memcheck::Report;
 
 use base qw<Test::Valgrind::Report>;
 
 
 use base qw<Test::Valgrind::Report>;
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 my @kinds = qw<
  InvalidFree
 
 my @kinds = qw<
  InvalidFree
index 441ce69105eb2aa9051495cf479fd63038eabe78..a6a6bd70c80456fc2a810d8cf9ac5724f0fe562a 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Util - Utility routines for Test::Valgrind.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 1.15
+Version 1.16
 
 =cut
 
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.16';
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION