Test::Valgrind::Parser(3pm)

Test::Valgrind::Parser3pm

Base class for test::valgrind parsers.

Version

Version 1.19

Overview

This class is the base for Test::Valgrind parsers.

Methods

"new"

    my $tvp = Test::Valgrind::Parser->new;

The parser constructor, called without arguments.

Defaults to "new" in Test::Valgrind::Component.

"start"

    $tvp->start($session);

Called when the $session starts.

Defaults to set "started" in Test::Valgrind::Component.

"args"

    my @args = $tvp->args($session, $fh);

Returns the list of parser-specific arguments that are to be passed to the "valgrind" process spawned by the session $session and whose output will be captured by the filehandle $fh.

Defaults to the empty list.

"parse"

    my $aborted = $tvp->parse($session, $fh);

Parses the output of the "valgrind" process attached to the session $session received through the filehandle $fh. Returns true when the output indicates that "valgrind" has aborted.

This method must be implemented when subclassing.

"finish"

    $tvp->finish($session);

Called when the $session finishes.

Defaults to clear "started" in Test::Valgrind::Component.

Support

You can find documentation for this module with the perldoc command.

    perldoc Test::Valgrind::Parser

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12
  6. 13

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>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

From libtest-valgrind-perl 1.19-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.