]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - lib/Test/Valgrind.pm
Add 'regen_def_supp', an option to regenerate the suppressions
[perl/modules/Test-Valgrind.git] / lib / Test / Valgrind.pm
index e8851d42e953f1c4fc0e224818648bd9fbebf839..a1f2e3231e3a77f4f4ef80ac8834d58140789e18 100644 (file)
@@ -108,11 +108,11 @@ Ignored if you supply your own custom C<action>, otherwise defaults to false.
 
 =item *
 
-C<< extra_supps => \@files >>
+C<< regen_def_supp => $bool >>
 
-Also use suppressions from C<@files> besides C<perl>'s.
+If true, forcefully regenerate the default suppression file.
 
-Defaults to empty.
+Defaults to false.
 
 =item *
 
@@ -122,6 +122,14 @@ If true, do not use the default suppression file.
 
 Defaults to false.
 
+=item *
+
+C<< extra_supps => \@files >>
+
+Also use suppressions from C<@files> besides C<perl>'s.
+
+Defaults to empty.
+
 =back
 
 =cut
@@ -168,7 +176,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<regen_def_supp no_def_supp extra_supps>
   );
  };
  unless ($sess) {
@@ -367,7 +375,7 @@ H.Merijn Brand, for daring to test this thing.
 
 David Cantrell, for providing shell access to one of his smokers where the tests were failing.
 
-The debian-perl team, for offering all the feedback they could regarding the build issues they met.
+The Debian-perl team, for offering all the feedback they could regarding the build issues they met.
 
 All you people that showed interest in this module, which motivated me into completely rewriting it.