]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - lib/Test/Valgrind.pm
This is 1.18
[perl/modules/Test-Valgrind.git] / lib / Test / Valgrind.pm
index 4669b23bd7bcdeae65ebeb8ca879e82b56c0330a..421396f90f71644edc6527debde133ffb3d6f7a0 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind - Generate suppressions, analyse and test any command with valgri
 
 =head1 VERSION
 
-Version 1.15
+Version 1.18
 
 =cut
 
-our $VERSION = '1.15';
+our $VERSION = '1.18';
 
 =head1 SYNOPSIS
 
@@ -124,6 +124,14 @@ Defaults to false.
 
 =item *
 
+C<< allow_no_supp => $bool >>
+
+If true, force running the analysis even if the suppression files do not refer to any C<perl>-related symbol.
+
+Defaults to false.
+
+=item *
+
 C<< extra_supps => \@files >>
 
 Also use suppressions from C<@files> besides C<perl>'s.
@@ -220,7 +228,12 @@ sub analyse {
  my $sess = eval {
   Test::Valgrind::Session->new(
    min_version => $tool->requires_version,
-   map { $_ => delete $args{$_} } qw<regen_def_supp no_def_supp extra_supps>
+   map { $_ => delete $args{$_} } qw<
+    regen_def_supp
+    no_def_supp
+    allow_no_supp
+    extra_supps
+   >
   );
  };
  unless ($sess) {
@@ -423,7 +436,7 @@ What your tests output to C<STDOUT> and C<STDERR> is eaten unless you pass the C
 
 =head1 DEPENDENCIES
 
-L<XML::Twig>, L<version>, L<File::HomeDir>, L<Env::Sanctify>, L<Perl::Destruct::Level>.
+L<XML::Twig>, L<File::HomeDir>, L<Env::Sanctify>, L<Perl::Destruct::Level>.
 
 =head1 SEE ALSO