X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FCommand.pm;h=61f72fc3112908630721ce6a57cca5c561d25fb0;hb=a1b4baae74607fbdf8b8ea4d0a09c6220b3ca4ae;hp=eb5a3476a2e83cc3cbc345dc1fc659b9ef89bc10;hpb=0e79c45af8d5eabe900280cc0e5467936467dee9;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Command.pm b/lib/Test/Valgrind/Command.pm index eb5a347..61f72fc 100644 --- a/lib/Test/Valgrind/Command.pm +++ b/lib/Test/Valgrind/Command.pm @@ -98,6 +98,17 @@ This method must be implemented when subclassing. sub suppressions_tag; +=head2 C + +The <$session> calls this method after receiving a report from the tool and before forwarding it to the action. +You can either return a mangled C<$report> (which does not need to be a clone of the original) or C if you want the action to ignore it completely. + +Defaults to the identity function. + +=cut + +sub filter { $_[2] } + =head1 SEE ALSO L, L.