From: Vincent Pit Date: Sun, 28 Sep 2008 13:35:48 +0000 (+0200) Subject: This is 0.07 X-Git-Tag: v0.07 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=55d0e8af5830782d3087a7088847310e817a97f6;p=perl%2Fmodules%2FTest-Valgrind.git This is 0.07 --- diff --git a/Changes b/Changes index 03e2671..726cd80 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,12 @@ Revision history for Test-Valgrind +0.07 2008-09-30 13:35 UTC + + Chg : Now conforms to the Test::Builder framework. + + Fix : STDERR is longer eaten. + + Fix : Eat STDOUT or print it as diagnostics, but never let him go + through naked, as this may fiddle with the tests output. + + Fix : 'make test' without prior 'make'. + 0.06 2008-09-09 22:10 UTC + Fix : Suppressions were installed in the wrong path. Thanks Marvin Humphrey for reporting this. diff --git a/META.yml b/META.yml index ab3e5c4..00d02d3 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Test-Valgrind -version: 0.06 +version: 0.07 abstract: Test Perl code through valgrind. license: perl author: @@ -10,9 +10,10 @@ distribution_type: module requires: Carp: 0 Exporter: 0 + Fcntl: 0 Perl::Destruct::Level: 0 POSIX: 0 - Test::More: 0 + Test::Builder: 0 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.3.html version: 1.3 diff --git a/README b/README index 2a10618..c123f97 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Test::Valgrind - Test Perl code through valgrind. VERSION - Version 0.06 + Version 0.07 SYNOPSIS use Test::More; @@ -77,20 +77,23 @@ CAVEATS You can't use this module to test code given by the "-e" command-line switch. - Results will most likely be better if your perl is built with debugging + Perl 5.8 is notorious for leaking like there's no tomorrow, so the + suppressions are very likely not to be very accurate on it. Anyhow, + results will most likely be better if your perl is built with debugging enabled. Using the latest valgrind available will also help. This module is not really secure. It's definitely not taint safe. That shouldn't be a problem for test files. - If your tests output to STDERR, everything will be eaten in the process. - In particular, running this module against test files will obliterate - their original test results. + What your tests output to STDOUT is eaten unless you pass the "diag" + option, in which case it will be reprinted as diagnostics. STDERR is + kept untouched. DEPENDENCIES Valgrind 3.1.0 (). - Carp, POSIX (core modules since perl 5) and Test::More (since 5.6.2). + Carp, Fcntl, POSIX (core modules since perl 5) and Test::Builder (since + 5.6.2). Perl::Destruct::Level. diff --git a/lib/Test/Valgrind.pm b/lib/Test/Valgrind.pm index 7d5ba0a..1ce6a8b 100644 --- a/lib/Test/Valgrind.pm +++ b/lib/Test/Valgrind.pm @@ -18,11 +18,11 @@ Test::Valgrind - Test Perl code through valgrind. =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 SYNOPSIS diff --git a/lib/Test/Valgrind/Suppressions.pm b/lib/Test/Valgrind/Suppressions.pm index 6c83c91..d599acb 100644 --- a/lib/Test/Valgrind/Suppressions.pm +++ b/lib/Test/Valgrind/Suppressions.pm @@ -9,11 +9,11 @@ Test::Valgrind::Suppressions - Placeholder for architecture-dependant perl suppr =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION diff --git a/lib/Test/Valgrind/Suppressions.tpl b/lib/Test/Valgrind/Suppressions.tpl index 6c83c91..d599acb 100644 --- a/lib/Test/Valgrind/Suppressions.tpl +++ b/lib/Test/Valgrind/Suppressions.tpl @@ -9,11 +9,11 @@ Test::Valgrind::Suppressions - Placeholder for architecture-dependant perl suppr =head1 VERSION -Version 0.06 +Version 0.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; =head1 DESCRIPTION