X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FCommand%2FPerl.pm;h=79532c397ad6bf692a586a72866f2e3d3b6015d6;hb=cea977523ce9c4be865b97a0813a5e14cce873f9;hp=2a8e2a41286eaa54002c4d33b0342bb00a3fbd69;hpb=b850006da6188f2d453accc63174fe3a431bf0ed;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Command/Perl.pm b/lib/Test/Valgrind/Command/Perl.pm index 2a8e2a4..79532c3 100644 --- a/lib/Test/Valgrind/Command/Perl.pm +++ b/lib/Test/Valgrind/Command/Perl.pm @@ -9,11 +9,11 @@ Test::Valgrind::Command::Perl - A Test::Valgrind command that invokes perl. =head1 VERSION -Version 1.11 +Version 1.13 =cut -our $VERSION = '1.11'; +our $VERSION = '1.13'; =head1 DESCRIPTION @@ -24,7 +24,9 @@ It handles the suppression generation and sets the main command-line flags. use Env::Sanctify (); -use base qw/Test::Valgrind::Command Test::Valgrind::Carp/; +use Test::Valgrind::Suppressions; + +use base qw; =head1 METHODS @@ -176,7 +178,8 @@ sub filter { or not $report->isa('Test::Valgrind::Report::Suppressions'); my $data = $report->data; - $data =~ s/^[^\r\n]*\bPerl_runops_(?:standard|debug)\b.*//ms; + $data =~ s/[^\r\n]*\bPerl_runops_(?:standard|debug)\b.*//s; + $data = Test::Valgrind::Suppressions->strip_tail($session, $data); $report->new( id => $report->id, @@ -221,7 +224,7 @@ You can find documentation for this module with the perldoc command. =head1 COPYRIGHT & LICENSE -Copyright 2009 Vincent Pit, all rights reserved. +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. @@ -267,7 +270,7 @@ my @cards = List::Util::shuffle(0 .. 51); { package Test::Valgrind::Test::Fake; - use base qw/strict/; + use base qw; } -eval 'use Time::HiRes qw/usleep/'; +eval 'use Time::HiRes qw';