]>
git.vpit.fr Git - perl/modules/Test-Valgrind.git/log
Vincent Pit [Sat, 26 Sep 2009 20:11:54 +0000 (22:11 +0200)]
Miscellanous doc nits
Vincent Pit [Sat, 26 Sep 2009 20:00:32 +0000 (22:00 +0200)]
Document Parser->new
Vincent Pit [Sat, 26 Sep 2009 19:56:31 +0000 (21:56 +0200)]
Add a DESCRIPTION to all modules
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
Vincent Pit [Sat, 26 Sep 2009 09:53:10 +0000 (11:53 +0200)]
Kwalitee test overhaul
Vincent Pit [Sat, 26 Sep 2009 09:30:28 +0000 (11:30 +0200)]
Reset the ->protocol_version before and after parsing
Vincent Pit [Sat, 26 Sep 2009 09:27:04 +0000 (11:27 +0200)]
Complete POD coverage
Vincent Pit [Sat, 26 Sep 2009 07:13:09 +0000 (09:13 +0200)]
Move the --xml option to Parser::XML
Vincent Pit [Tue, 22 Sep 2009 18:43:39 +0000 (20:43 +0200)]
This is 1.10
Vincent Pit [Tue, 22 Sep 2009 18:09:07 +0000 (20:09 +0200)]
Only run the tests with fake valgrinds on linux
Vincent Pit [Tue, 22 Sep 2009 17:14:02 +0000 (19:14 +0200)]
Test Session->new arguments in a new t/70-session.t
Vincent Pit [Tue, 22 Sep 2009 11:44:28 +0000 (13:44 +0200)]
Remove stack traces from common error messages
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
Vincent Pit [Tue, 22 Sep 2009 10:28:41 +0000 (12:28 +0200)]
Fix valgrind option to Test::Valgrind::Session->new
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
Vincent Pit [Sat, 19 Sep 2009 23:28:34 +0000 (01:28 +0200)]
Handle xwhat nodes of protocol v4
Vincent Pit [Sat, 19 Sep 2009 23:22:09 +0000 (01:22 +0200)]
Make Parser::XML::Twig collect the protocol version
Vincent Pit [Sat, 19 Sep 2009 22:59:50 +0000 (00:59 +0200)]
Document Session->parser
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.
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.
Vincent Pit [Sat, 19 Sep 2009 22:33:41 +0000 (00:33 +0200)]
Add a default ->filter() to tools
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.
Vincent Pit [Sat, 19 Sep 2009 22:21:33 +0000 (00:21 +0200)]
Add support for ->parser_class() 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().
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
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
Vincent Pit [Tue, 15 Sep 2009 08:29:27 +0000 (10:29 +0200)]
Introduce the Test::Valgrind::Parser class hierarchy
Vincent Pit [Tue, 15 Sep 2009 08:19:04 +0000 (10:19 +0200)]
Add parser support to Test::Valgrind::Session
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
Vincent Pit [Sun, 13 Sep 2009 23:47:52 +0000 (01:47 +0200)]
Get rid of all pointers to Test::Valgrind::Tool::SuppressionsParser
Vincent Pit [Wed, 26 Aug 2009 15:59:34 +0000 (17:59 +0200)]
Add two missing dependencies for the suppressions trainer
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.
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
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
Vincent Pit [Mon, 24 Aug 2009 22:36:05 +0000 (00:36 +0200)]
Also use the report_class in Session
Vincent Pit [Mon, 24 Aug 2009 22:31:54 +0000 (00:31 +0200)]
Honor the report class in Tool::memcheck
Vincent Pit [Mon, 24 Aug 2009 22:18:31 +0000 (00:18 +0200)]
Remove an unused variable
Vincent Pit [Sun, 23 Aug 2009 23:18:29 +0000 (01:18 +0200)]
Cleanup Test::Valgrind::Tool::SuppressionsParser.pm
Vincent Pit [Sun, 23 Aug 2009 23:08:24 +0000 (01:08 +0200)]
Style nits
Vincent Pit [Sun, 23 Aug 2009 22:03:48 +0000 (00:03 +0200)]
Check in the reference of the new XML protocol
Vincent Pit [Sat, 2 May 2009 12:05:20 +0000 (14:05 +0200)]
This is 1.02
Vincent Pit [Sat, 2 May 2009 11:59:35 +0000 (13:59 +0200)]
Add two missing descriptions
Vincent Pit [Sat, 2 May 2009 11:53:57 +0000 (13:53 +0200)]
A new pitch
Vincent Pit [Sat, 2 May 2009 11:49:00 +0000 (13:49 +0200)]
A short note about the API
Vincent Pit [Sat, 2 May 2009 11:45:16 +0000 (13:45 +0200)]
Ignore the stack trace below Perl_runops* when generating perl suppressions
Vincent Pit [Sat, 2 May 2009 10:21:27 +0000 (12:21 +0200)]
Let the command filter reports
Vincent Pit [Sat, 25 Apr 2009 13:43:55 +0000 (15:43 +0200)]
Phrasing fix in Test::Valgrind::Tool POD
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
Vincent Pit [Tue, 21 Apr 2009 08:34:33 +0000 (10:34 +0200)]
Nits in Test::Valgrind::import description
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
Vincent Pit [Mon, 20 Apr 2009 09:04:27 +0000 (11:04 +0200)]
Fix SUPER call in Test::Valgrind::Tool::memcheck::finish()
Vincent Pit [Thu, 16 Apr 2009 22:43:53 +0000 (00:43 +0200)]
Point the repository to the gitweb instead of the bare repo
Vincent Pit [Thu, 16 Apr 2009 15:45:34 +0000 (17:45 +0200)]
Move the duplicate suppressions removal from the tool to the action
Vincent Pit [Wed, 15 Apr 2009 08:48:50 +0000 (10:48 +0200)]
Reorder a bit the fake test action
Vincent Pit [Tue, 14 Apr 2009 23:45:23 +0000 (01:45 +0200)]
Test::Valgrind::Report::Suppressions isn't linkable in POD
Vincent Pit [Tue, 14 Apr 2009 23:43:27 +0000 (01:43 +0200)]
Spacing fix
Vincent Pit [Tue, 14 Apr 2009 23:42:48 +0000 (01:42 +0200)]
Don't import Config into Test::Valgrind::Tool::memcheck::Report
Vincent Pit [Tue, 14 Apr 2009 23:30:53 +0000 (01:30 +0200)]
Nit in T::V::Session POD
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.
Vincent Pit [Tue, 14 Apr 2009 23:01:24 +0000 (01:01 +0200)]
Better POD reference for dl_unload_file()
Vincent Pit [Tue, 14 Apr 2009 21:14:31 +0000 (23:14 +0200)]
This is 1.01
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
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).
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
Vincent Pit [Tue, 14 Apr 2009 14:27:50 +0000 (16:27 +0200)]
Really allow to pass "file => $file" to Test::Valgrind->import
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
Vincent Pit [Tue, 14 Apr 2009 13:52:15 +0000 (15:52 +0200)]
Allow passing a command to Test::Valgrind->import
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.
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
Vincent Pit [Mon, 13 Apr 2009 13:36:57 +0000 (15:36 +0200)]
List base.pm in the prerequisites
Vincent Pit [Thu, 19 Mar 2009 22:26:58 +0000 (23:26 +0100)]
This is 1.00
Vincent Pit [Sat, 14 Feb 2009 21:37:12 +0000 (22:37 +0100)]
Output what we got when t/30-bad.t fails
Vincent Pit [Sun, 8 Feb 2009 23:11:42 +0000 (00:11 +0100)]
dl_unload_file() returns false on error, not true
Vincent Pit [Sun, 8 Feb 2009 18:22:01 +0000 (19:22 +0100)]
This is 0.08
Vincent Pit [Sun, 8 Feb 2009 18:17:41 +0000 (19:17 +0100)]
Bump copyright year
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
Vincent Pit [Sun, 8 Feb 2009 00:47:40 +0000 (01:47 +0100)]
Don't call dl_unload_file twice on the same libref
Vincent Pit [Sun, 8 Feb 2009 00:35:47 +0000 (01:35 +0100)]
XSLoader and DynaLoader aren't really required, just recommended
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.
Vincent Pit [Sat, 7 Feb 2009 21:21:38 +0000 (22:21 +0100)]
t/30-bad.t doesn't need Config anymore
Vincent Pit [Sat, 7 Feb 2009 21:20:51 +0000 (22:20 +0100)]
Use recent ExtUtils::MakeMaker features to generate a better META.yml
Vincent Pit [Wed, 21 Jan 2009 21:00:18 +0000 (22:00 +0100)]
Remove the useless t/21-good-block.t
Vincent Pit [Fri, 3 Oct 2008 17:16:11 +0000 (19:16 +0200)]
Use $Config{path_sep} whenever possible
Vincent Pit [Thu, 2 Oct 2008 22:06:11 +0000 (00:06 +0200)]
Better be on irc.perl.org
Vincent Pit [Thu, 2 Oct 2008 22:03:27 +0000 (00:03 +0200)]
Use clean Suppressions.pm and perlTestValgrind.supp when building a dist
Vincent Pit [Sun, 28 Sep 2008 13:35:48 +0000 (15:35 +0200)]
This is 0.07
Vincent Pit [Sun, 28 Sep 2008 13:28:51 +0000 (15:28 +0200)]
More suppressions bis (also when no compiler is available)
Vincent Pit [Sun, 28 Sep 2008 13:17:52 +0000 (15:17 +0200)]
Document things
Vincent Pit [Sun, 28 Sep 2008 13:08:41 +0000 (15:08 +0200)]
More explicit error message for bogus failures
Vincent Pit [Sun, 28 Sep 2008 13:04:36 +0000 (15:04 +0200)]
More suppressions
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
Vincent Pit [Sun, 28 Sep 2008 11:56:47 +0000 (13:56 +0200)]
Use indirect exec syntax
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
Vincent Pit [Sun, 28 Sep 2008 10:26:29 +0000 (12:26 +0200)]
die() instead of croak() on system errors
Vincent Pit [Sun, 28 Sep 2008 10:25:41 +0000 (12:25 +0200)]
Log valgrind output to a specific fd so that the output of the script doesn't get mixed up with valgrind data
Vincent Pit [Sun, 28 Sep 2008 01:08:23 +0000 (03:08 +0200)]
Generate suppressions when running 'make test' without prior 'make'
Vincent Pit [Sun, 28 Sep 2008 00:54:53 +0000 (02:54 +0200)]
Get infos from the suppression files in t/10-suppressions.t, so that we get useful feedback from smokers
Vincent Pit [Sun, 28 Sep 2008 00:41:17 +0000 (02:41 +0200)]
Don't output the plan twice when no XS can be found, and output the reason from the parent
Vincent Pit [Sun, 28 Sep 2008 00:28:42 +0000 (02:28 +0200)]
t/30-bad.t is only TODO for non-debugging perls
Vincent Pit [Sun, 28 Sep 2008 00:18:05 +0000 (02:18 +0200)]
Don't output our plan if one has already been set