X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FTest-Valgrind.git;a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FSession.pm;h=93218ac714c8f774d3e9c5f4b5c0051df379af88;hp=4b731fca2b769e137bdd9eea6b3e611dfbce1fc4;hb=7a0d14b4934af9bd1d79b8ea1f753a00b497dafd;hpb=5e664c56e274c995d3795869f50565f77273671a diff --git a/lib/Test/Valgrind/Session.pm b/lib/Test/Valgrind/Session.pm index 4b731fc..93218ac 100644 --- a/lib/Test/Valgrind/Session.pm +++ b/lib/Test/Valgrind/Session.pm @@ -304,6 +304,14 @@ Forwards to C<< ->action->do_suppressions >>. sub do_suppressions { $_[0]->action->do_suppressions } +=head2 C + +Calls C<< ->tool->parser_class >> with the current session object as the unique argument. + +=cut + +sub parser_class { $_[0]->tool->parser_class($_[0]) } + =head2 C Calls C<< ->action->report_class >> with the current session object as the unique argument. @@ -385,7 +393,7 @@ sub start { delete @{$self}{qw/last_status exit_code/}; $self->tool->start($self); - $self->parser($self->tool->parser_class($self)->new)->start($self); + $self->parser($self->parser_class->new)->start($self); $self->action->start($self); return;