Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

test::valgrind::command(3pm) [debian man page]

Test::Valgrind::Command(3pm)				User Contributed Perl Documentation			      Test::Valgrind::Command(3pm)

NAME
Test::Valgrind::Command - Base class for Test::Valgrind commands. VERSION
Version 1.13 DESCRIPTION
This class is the base for Test::Valgrind commands. Commands gather information about the target of the analysis. They should also provide a default setup for generating suppressions. METHODS
"new command => $command, args => @args" Creates a new command object of type $command by requiring and redispatching the method call to the module named $command if it contains '::' or to "Test::Valgrind::Command::$command" otherwise. The class represented by $command must inherit this class. The "args" key is used to initialize the "args" accessor. "new_trainer" Creates a new command object suitable for generating suppressions. Defaults to return "undef", which skips suppression generation. "args $session" Returns the list of command-specific arguments that are to be passed to "valgrind". Defaults to return the contents of the "args" option. "env $session" This event is called in scalar context before the command is ran, and the returned value goes out of scope when the analysis ends. It's useful for e.g. setting up %ENV for the child process by returning an Env::Sanctify object, hence the name. Defaults to void. "suppressions_tag $session" Returns a identifier that will be used to pick up the right suppressions for running the command, or "undef" to indicate that no special suppressions are needed. This method must be implemented when subclassing. "filter $session, $report" 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 $report (which does not need to be a clone of the original) or "undef" if you want the action to ignore it completely. Defaults to the identity function. SEE ALSO
Test::Valgrind, Test::Valgrind::Session. AUTHOR
Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>. You can contact me by mail or on "irc.perl.org" (vincent). BUGS
Please report any bugs or feature requests to "bug-test-valgrind at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Test::Valgrind::Command COPYRIGHT &; LICENSE Copyright 2009,2010,2011 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-08-25 Test::Valgrind::Command(3pm)

Check Out this Related Man Page

Test::Valgrind::Action::Suppressions(3pm)		User Contributed Perl Documentation		 Test::Valgrind::Action::Suppressions(3pm)

NAME
Test::Valgrind::Action::Suppressions - Generate suppressions for a given tool. VERSION
Version 1.13 DESCRIPTION
This action just writes the contents of the suppressions reports received into the suppression file. METHODS
This class inherits Test::Valgrind::Action. "new name => $name, target => $target, ..." Your usual constructor. You need to specify the suppression prefix as the value of "name", and the target file as "target". Other arguments are passed straight to "Test::Valgrind::Action->new". "name" Read-only accessor for the "name" option. "target" Read-only accessor for the "target" option. SEE ALSO
Test::Valgrind, Test::Valgrind::Action. AUTHOR
Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>. You can contact me by mail or on "irc.perl.org" (vincent). BUGS
Please report any bugs or feature requests to "bug-test-valgrind at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Test::Valgrind::Action::Suppressions COPYRIGHT &; LICENSE Copyright 2009,2010,2011 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-08-25 Test::Valgrind::Action::Suppressions(3pm)
Man Page