]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/log
perl/modules/Test-Valgrind.git
14 years agoThis is 1.11 v1.11
Vincent Pit [Thu, 8 Oct 2009 20:52:12 +0000 (22:52 +0200)]
This is 1.11

14 years agoRe-indent WriteMakefile() arguments
Vincent Pit [Sun, 4 Oct 2009 09:18:03 +0000 (11:18 +0200)]
Re-indent WriteMakefile() arguments

14 years agoMakefile.bak doesn't exist anymore
Vincent Pit [Sun, 4 Oct 2009 08:39:09 +0000 (10:39 +0200)]
Makefile.bak doesn't exist anymore

14 years agoBuild the $name and the main $file from $dist
Vincent Pit [Sun, 4 Oct 2009 08:37:51 +0000 (10:37 +0200)]
Build the $name and the main $file from $dist

14 years agoMove $dist before %PREREQ_PM
Vincent Pit [Sun, 4 Oct 2009 07:48:40 +0000 (09:48 +0200)]
Move $dist before %PREREQ_PM

14 years agoGive an explicit value to dynamic_config
Vincent Pit [Sun, 4 Oct 2009 07:28:22 +0000 (09:28 +0200)]
Give an explicit value to dynamic_config

14 years agoMiscellanous doc nits
Vincent Pit [Sat, 26 Sep 2009 20:11:54 +0000 (22:11 +0200)]
Miscellanous doc nits

14 years agoDocument Parser->new
Vincent Pit [Sat, 26 Sep 2009 20:00:32 +0000 (22:00 +0200)]
Document Parser->new

14 years agoAdd a DESCRIPTION to all modules
Vincent Pit [Sat, 26 Sep 2009 19:56:31 +0000 (21:56 +0200)]
Add a DESCRIPTION to all modules

14 years agoAdd a ->parser_class method to the session that forwards to ->tool->parser_class
Vincent Pit [Sat, 26 Sep 2009 19:15:17 +0000 (21:15 +0200)]
Add a ->parser_class method to the session that forwards to ->tool->parser_class

14 years agoKwalitee test overhaul
Vincent Pit [Sat, 26 Sep 2009 09:53:10 +0000 (11:53 +0200)]
Kwalitee test overhaul

14 years agoReset the ->protocol_version before and after parsing
Vincent Pit [Sat, 26 Sep 2009 09:30:28 +0000 (11:30 +0200)]
Reset the ->protocol_version before and after parsing

14 years agoComplete POD coverage
Vincent Pit [Sat, 26 Sep 2009 09:27:04 +0000 (11:27 +0200)]
Complete POD coverage

14 years agoMove the --xml option to Parser::XML
Vincent Pit [Sat, 26 Sep 2009 07:13:09 +0000 (09:13 +0200)]
Move the --xml option to Parser::XML

14 years agoThis is 1.10 v1.10
Vincent Pit [Tue, 22 Sep 2009 18:43:39 +0000 (20:43 +0200)]
This is 1.10

14 years agoOnly run the tests with fake valgrinds on linux
Vincent Pit [Tue, 22 Sep 2009 18:09:07 +0000 (20:09 +0200)]
Only run the tests with fake valgrinds on linux

14 years agoTest Session->new arguments in a new t/70-session.t
Vincent Pit [Tue, 22 Sep 2009 17:14:02 +0000 (19:14 +0200)]
Test Session->new arguments in a new t/70-session.t

14 years agoRemove stack traces from common error messages
Vincent Pit [Tue, 22 Sep 2009 11:44:28 +0000 (13:44 +0200)]
Remove stack traces from common error messages

14 years agoAction::Test->abort should use the $msg it receives at its second argument
Vincent Pit [Tue, 22 Sep 2009 11:42:03 +0000 (13:42 +0200)]
Action::Test->abort should use the $msg it receives at its second argument

14 years agoFix valgrind option to Test::Valgrind::Session->new
Vincent Pit [Tue, 22 Sep 2009 10:28:41 +0000 (12:28 +0200)]
Fix valgrind option to Test::Valgrind::Session->new

14 years agoWith protocol v4, leakedbytes and leakedblocks are found in the xwhat node
Vincent Pit [Sat, 19 Sep 2009 23:36:13 +0000 (01:36 +0200)]
With protocol v4, leakedbytes and leakedblocks are found in the xwhat node

14 years agoHandle xwhat nodes of protocol v4
Vincent Pit [Sat, 19 Sep 2009 23:28:34 +0000 (01:28 +0200)]
Handle xwhat nodes of protocol v4

14 years agoMake Parser::XML::Twig collect the protocol version
Vincent Pit [Sat, 19 Sep 2009 23:22:09 +0000 (01:22 +0200)]
Make Parser::XML::Twig collect the protocol version

14 years agoDocument Session->parser
Vincent Pit [Sat, 19 Sep 2009 22:59:50 +0000 (00:59 +0200)]
Document Session->parser

14 years agoDon't scan for valgrind at configure time
Vincent Pit [Sat, 19 Sep 2009 22:56:28 +0000 (00:56 +0200)]
Don't scan for valgrind at configure time

We don't need this anymore since suppressions are now generated on the fly.
This removes almost all configure_requires dependencies.
The module ought to handle systems where valgrind is not present anyway.

14 years agoMake Parser::XML::Twig a subclass of a new Parser::XML
Vincent Pit [Sat, 19 Sep 2009 22:36:33 +0000 (00:36 +0200)]
Make Parser::XML::Twig a subclass of a new Parser::XML

That implements the ->args() method generically for all XML parsers.

14 years agoAdd a default ->filter() to tools
Vincent Pit [Sat, 19 Sep 2009 22:33:41 +0000 (00:33 +0200)]
Add a default ->filter() to tools

14 years agoRemove ->parse() from Tool.pm
Vincent Pit [Sat, 19 Sep 2009 22:33:13 +0000 (00:33 +0200)]
Remove ->parse() from Tool.pm

As it's now handled directly in the parser.

14 years agoAdd support for ->parser_class() in tools
Vincent Pit [Sat, 19 Sep 2009 22:21:33 +0000 (00:21 +0200)]
Add support for ->parser_class() in tools

14 years agoRemove support for report_class_{suppressions,analysis} in tools
Vincent Pit [Sat, 19 Sep 2009 22:19:21 +0000 (00:19 +0200)]
Remove support for report_class_{suppressions,analysis} in tools

And let subclasses handle them by only implementing report_class().

14 years agoMove the rest of the XML parser from Tool::memcheck to Parser::XML::Twig
Vincent Pit [Sat, 19 Sep 2009 22:06:01 +0000 (00:06 +0200)]
Move the rest of the XML parser from Tool::memcheck to Parser::XML::Twig

14 years agoFactor the start/finish logic into a new Test::Valgrind::Component base class
Vincent Pit [Tue, 15 Sep 2009 09:21:15 +0000 (11:21 +0200)]
Factor the start/finish logic into a new Test::Valgrind::Component base class

14 years agoIntroduce the Test::Valgrind::Parser class hierarchy
Vincent Pit [Tue, 15 Sep 2009 08:29:27 +0000 (10:29 +0200)]
Introduce the Test::Valgrind::Parser class hierarchy

14 years agoAdd parser support to Test::Valgrind::Session
Vincent Pit [Tue, 15 Sep 2009 08:19:04 +0000 (10:19 +0200)]
Add parser support to Test::Valgrind::Session

14 years agoMove the XML::Twig part of Tool::memcheck to a new Parser::XML::Twig
Vincent Pit [Sun, 13 Sep 2009 23:50:58 +0000 (01:50 +0200)]
Move the XML::Twig part of Tool::memcheck to a new Parser::XML::Twig

14 years agoGet rid of all pointers to Test::Valgrind::Tool::SuppressionsParser
Vincent Pit [Sun, 13 Sep 2009 23:47:52 +0000 (01:47 +0200)]
Get rid of all pointers to Test::Valgrind::Tool::SuppressionsParser

14 years agoAdd two missing dependencies for the suppressions trainer
Vincent Pit [Wed, 26 Aug 2009 15:59:34 +0000 (17:59 +0200)]
Add two missing dependencies for the suppressions trainer

14 years agoRename Tool::SuppressionsParser to Parser::Suppressions::Text
Vincent Pit [Tue, 25 Aug 2009 09:33:12 +0000 (11:33 +0200)]
Rename Tool::SuppressionsParser to Parser::Suppressions::Text

This breaks the module so more to come about this.

14 years agoTool::memcheck::args needs to forward its $session argument in the SUPER call
Vincent Pit [Mon, 24 Aug 2009 23:00:22 +0000 (01:00 +0200)]
Tool::memcheck::args needs to forward its $session argument in the SUPER call

14 years agoTools can only be run in one session at a time by default
Vincent Pit [Mon, 24 Aug 2009 22:55:28 +0000 (00:55 +0200)]
Tools can only be run in one session at a time by default

So that Tool::memcheck doesn't have to check if its private ->_session accessor is set

14 years agoAlso use the report_class in Session
Vincent Pit [Mon, 24 Aug 2009 22:36:05 +0000 (00:36 +0200)]
Also use the report_class in Session

14 years agoHonor the report class in Tool::memcheck
Vincent Pit [Mon, 24 Aug 2009 22:31:54 +0000 (00:31 +0200)]
Honor the report class in Tool::memcheck

14 years agoRemove an unused variable
Vincent Pit [Mon, 24 Aug 2009 22:18:31 +0000 (00:18 +0200)]
Remove an unused variable

14 years agoCleanup Test::Valgrind::Tool::SuppressionsParser.pm
Vincent Pit [Sun, 23 Aug 2009 23:18:29 +0000 (01:18 +0200)]
Cleanup Test::Valgrind::Tool::SuppressionsParser.pm

14 years agoStyle nits
Vincent Pit [Sun, 23 Aug 2009 23:08:24 +0000 (01:08 +0200)]
Style nits

14 years agoCheck in the reference of the new XML protocol
Vincent Pit [Sun, 23 Aug 2009 22:03:48 +0000 (00:03 +0200)]
Check in the reference of the new XML protocol

14 years agoThis is 1.02 v1.02
Vincent Pit [Sat, 2 May 2009 12:05:20 +0000 (14:05 +0200)]
This is 1.02

14 years agoAdd two missing descriptions
Vincent Pit [Sat, 2 May 2009 11:59:35 +0000 (13:59 +0200)]
Add two missing descriptions

14 years agoA new pitch
Vincent Pit [Sat, 2 May 2009 11:53:57 +0000 (13:53 +0200)]
A new pitch

14 years agoA short note about the API
Vincent Pit [Sat, 2 May 2009 11:49:00 +0000 (13:49 +0200)]
A short note about the API

14 years agoIgnore the stack trace below Perl_runops* when generating perl suppressions
Vincent Pit [Sat, 2 May 2009 11:45:16 +0000 (13:45 +0200)]
Ignore the stack trace below Perl_runops* when generating perl suppressions

14 years agoLet the command filter reports
Vincent Pit [Sat, 2 May 2009 10:21:27 +0000 (12:21 +0200)]
Let the command filter reports

14 years agoPhrasing fix in Test::Valgrind::Tool POD
Vincent Pit [Sat, 25 Apr 2009 13:43:55 +0000 (15:43 +0200)]
Phrasing fix in Test::Valgrind::Tool POD

15 years agoSlashes are reserved and hence must be encoded in the search part of an URL
Vincent Pit [Wed, 22 Apr 2009 20:51:43 +0000 (22:51 +0200)]
Slashes are reserved and hence must be encoded in the search part of an URL

15 years agoNits in Test::Valgrind::import description
Vincent Pit [Tue, 21 Apr 2009 08:34:33 +0000 (10:34 +0200)]
Nits in Test::Valgrind::import description

15 years agoAdd a new T::V::Command::Aggregate that aggregates several commands together
Vincent Pit [Mon, 20 Apr 2009 09:57:44 +0000 (11:57 +0200)]
Add a new T::V::Command::Aggregate that aggregates several commands together

15 years agoFix SUPER call in Test::Valgrind::Tool::memcheck::finish()
Vincent Pit [Mon, 20 Apr 2009 09:04:27 +0000 (11:04 +0200)]
Fix SUPER call in Test::Valgrind::Tool::memcheck::finish()

15 years agoPoint the repository to the gitweb instead of the bare repo
Vincent Pit [Thu, 16 Apr 2009 22:43:53 +0000 (00:43 +0200)]
Point the repository to the gitweb instead of the bare repo

15 years agoMove the duplicate suppressions removal from the tool to the action
Vincent Pit [Thu, 16 Apr 2009 15:45:34 +0000 (17:45 +0200)]
Move the duplicate suppressions removal from the tool to the action

15 years agoReorder a bit the fake test action
Vincent Pit [Wed, 15 Apr 2009 08:48:50 +0000 (10:48 +0200)]
Reorder a bit the fake test action

15 years agoTest::Valgrind::Report::Suppressions isn't linkable in POD
Vincent Pit [Tue, 14 Apr 2009 23:45:23 +0000 (01:45 +0200)]
Test::Valgrind::Report::Suppressions isn't linkable in POD

15 years agoSpacing fix
Vincent Pit [Tue, 14 Apr 2009 23:43:27 +0000 (01:43 +0200)]
Spacing fix

15 years agoDon't import Config into Test::Valgrind::Tool::memcheck::Report
Vincent Pit [Tue, 14 Apr 2009 23:42:48 +0000 (01:42 +0200)]
Don't import Config into Test::Valgrind::Tool::memcheck::Report

15 years agoNit in T::V::Session POD
Vincent Pit [Tue, 14 Apr 2009 23:30:53 +0000 (01:30 +0200)]
Nit in T::V::Session POD

15 years agoMove the "taint_mode" option from Test::Valgrind::Command::PerlScript to Perl
Vincent Pit [Tue, 14 Apr 2009 23:18:19 +0000 (01:18 +0200)]
Move the "taint_mode" option from Test::Valgrind::Command::PerlScript to Perl

But keep in Test::Valgrind::Command::PerlScript the automatic discovery for when we know the file.

15 years agoBetter POD reference for dl_unload_file()
Vincent Pit [Tue, 14 Apr 2009 23:01:24 +0000 (01:01 +0200)]
Better POD reference for dl_unload_file()

15 years agoThis is 1.01 v1.01
Vincent Pit [Tue, 14 Apr 2009 21:14:31 +0000 (23:14 +0200)]
This is 1.01

15 years agoTest that the stack trace is correct in t/20-bad.t
Vincent Pit [Tue, 14 Apr 2009 20:55:26 +0000 (22:55 +0200)]
Test that the stack trace is correct in t/20-bad.t

15 years agoDon't enable dynamic libraries unloading at END time by default
Vincent Pit [Tue, 14 Apr 2009 20:32:29 +0000 (22:32 +0200)]
Don't enable dynamic libraries unloading at END time by default

This makes the error stack traces unreadable because valgrind tries to resolve the symbol names after they were unloaded (and not when the error occurs).

15 years agoAllow using Test::Valgrind on code given by the -e command-line flag
Vincent Pit [Tue, 14 Apr 2009 16:22:07 +0000 (18:22 +0200)]
Allow using Test::Valgrind on code given by the -e command-line flag

15 years agoReally allow to pass "file => $file" to Test::Valgrind->import
Vincent Pit [Tue, 14 Apr 2009 14:27:50 +0000 (16:27 +0200)]
Really allow to pass "file => $file" to Test::Valgrind->import

15 years agoFactor the agnostic part of Test::Valgrind->import out to a new ->analyse
Vincent Pit [Tue, 14 Apr 2009 14:20:38 +0000 (16:20 +0200)]
Factor the agnostic part of Test::Valgrind->import out to a new ->analyse

15 years agoAllow passing a command to Test::Valgrind->import
Vincent Pit [Tue, 14 Apr 2009 13:52:15 +0000 (15:52 +0200)]
Allow passing a command to Test::Valgrind->import

15 years agoA new PerlScript command that specializes the Perl command to scripts
Vincent Pit [Tue, 14 Apr 2009 13:47:10 +0000 (15:47 +0200)]
A new PerlScript command that specializes the Perl command to scripts

So that we can move the taint mode handling from Test::Valgrind to there.

15 years agoOnly load version.pm when needed in Test::Valgrind::Session so that it's not mandator...
Vincent Pit [Mon, 13 Apr 2009 13:39:27 +0000 (15:39 +0200)]
Only load version.pm when needed in Test::Valgrind::Session so that it's not mandatory at configure time

15 years agoList base.pm in the prerequisites
Vincent Pit [Mon, 13 Apr 2009 13:36:57 +0000 (15:36 +0200)]
List base.pm in the prerequisites

15 years agoThis is 1.00 v1.00
Vincent Pit [Thu, 19 Mar 2009 22:26:58 +0000 (23:26 +0100)]
This is 1.00

15 years agoOutput what we got when t/30-bad.t fails maint-0
Vincent Pit [Sat, 14 Feb 2009 21:37:12 +0000 (22:37 +0100)]
Output what we got when t/30-bad.t fails

15 years agodl_unload_file() returns false on error, not true
Vincent Pit [Sun, 8 Feb 2009 23:11:42 +0000 (00:11 +0100)]
dl_unload_file() returns false on error, not true

15 years agoThis is 0.08 v0.08
Vincent Pit [Sun, 8 Feb 2009 18:22:01 +0000 (19:22 +0100)]
This is 0.08

15 years agoBump copyright year
Vincent Pit [Sun, 8 Feb 2009 18:17:41 +0000 (19:17 +0100)]
Bump copyright year

15 years agoRemove entries from @dl_unload_file when unload succeed instead of undefining them
Vincent Pit [Sun, 8 Feb 2009 18:16:45 +0000 (19:16 +0100)]
Remove entries from @dl_unload_file when unload succeed instead of undefining them

15 years agoDon't call dl_unload_file twice on the same libref
Vincent Pit [Sun, 8 Feb 2009 00:47:40 +0000 (01:47 +0100)]
Don't call dl_unload_file twice on the same libref

15 years agoXSLoader and DynaLoader aren't really required, just recommended
Vincent Pit [Sun, 8 Feb 2009 00:35:47 +0000 (01:35 +0100)]
XSLoader and DynaLoader aren't really required, just recommended

15 years agoUnload dynamically loaded libraries at END-time
Vincent Pit [Sun, 8 Feb 2009 00:32:47 +0000 (01:32 +0100)]
Unload dynamically loaded libraries at END-time

This solves the leaks due to DynaLoader.

15 years agot/30-bad.t doesn't need Config anymore
Vincent Pit [Sat, 7 Feb 2009 21:21:38 +0000 (22:21 +0100)]
t/30-bad.t doesn't need Config anymore

15 years agoUse recent ExtUtils::MakeMaker features to generate a better META.yml
Vincent Pit [Sat, 7 Feb 2009 21:20:51 +0000 (22:20 +0100)]
Use recent ExtUtils::MakeMaker features to generate a better META.yml

15 years agoRemove the useless t/21-good-block.t
Vincent Pit [Wed, 21 Jan 2009 21:00:18 +0000 (22:00 +0100)]
Remove the useless t/21-good-block.t

15 years agoUse $Config{path_sep} whenever possible
Vincent Pit [Fri, 3 Oct 2008 17:16:11 +0000 (19:16 +0200)]
Use $Config{path_sep} whenever possible

15 years agoBetter be on irc.perl.org
Vincent Pit [Thu, 2 Oct 2008 22:06:11 +0000 (00:06 +0200)]
Better be on irc.perl.org

15 years agoUse clean Suppressions.pm and perlTestValgrind.supp when building a dist
Vincent Pit [Thu, 2 Oct 2008 22:03:27 +0000 (00:03 +0200)]
Use clean Suppressions.pm and perlTestValgrind.supp when building a dist

15 years agoThis is 0.07 v0.07
Vincent Pit [Sun, 28 Sep 2008 13:35:48 +0000 (15:35 +0200)]
This is 0.07

15 years agoMore suppressions bis (also when no compiler is available)
Vincent Pit [Sun, 28 Sep 2008 13:28:51 +0000 (15:28 +0200)]
More suppressions bis (also when no compiler is available)

15 years agoDocument things
Vincent Pit [Sun, 28 Sep 2008 13:17:52 +0000 (15:17 +0200)]
Document things

15 years agoMore explicit error message for bogus failures
Vincent Pit [Sun, 28 Sep 2008 13:08:41 +0000 (15:08 +0200)]
More explicit error message for bogus failures

15 years agoMore suppressions
Vincent Pit [Sun, 28 Sep 2008 13:04:36 +0000 (15:04 +0200)]
More suppressions

15 years agoDon't try to read the script's output before valgrind's, as it causes deadlocks
Vincent Pit [Sun, 28 Sep 2008 12:58:27 +0000 (14:58 +0200)]
Don't try to read the script's output before valgrind's, as it causes deadlocks

15 years agoUse indirect exec syntax
Vincent Pit [Sun, 28 Sep 2008 11:56:47 +0000 (13:56 +0200)]
Use indirect exec syntax

15 years agoCapture STDOUT so that its output doesn't mix with our test results
Vincent Pit [Sun, 28 Sep 2008 11:52:59 +0000 (13:52 +0200)]
Capture STDOUT so that its output doesn't mix with our test results

15 years agodie() instead of croak() on system errors
Vincent Pit [Sun, 28 Sep 2008 10:26:29 +0000 (12:26 +0200)]
die() instead of croak() on system errors