]>
git.vpit.fr Git - perl/modules/Test-Valgrind.git/log
Vincent Pit [Wed, 11 Nov 2015 14:49:46 +0000 (12:49 -0200)]
Avoid eval STRING wherever possible
Vincent Pit [Wed, 11 Nov 2015 13:45:35 +0000 (11:45 -0200)]
Don't silence compilation errors when loading the parser class
Vincent Pit [Wed, 11 Nov 2015 13:43:09 +0000 (11:43 -0200)]
Move and improve the subclass validation logic into a new helper module
Vincent Pit [Wed, 11 Nov 2015 13:14:30 +0000 (11:14 -0200)]
Make Test::Valgrind skip if no appropriate suppressions are available
Note that this change also fix no_def_supp => 1 ignoring extra suppressions.
Vincent Pit [Sat, 31 Oct 2015 11:20:34 +0000 (09:20 -0200)]
Make sure t/20-bad.t does no extra checks when no valgrind was found
Vincent Pit [Fri, 30 Oct 2015 16:15:07 +0000 (14:15 -0200)]
This is 1.15
Vincent Pit [Fri, 30 Oct 2015 15:56:56 +0000 (13:56 -0200)]
Bump copyright year
Vincent Pit [Fri, 30 Oct 2015 15:47:59 +0000 (13:47 -0200)]
Add 'regen_def_supp', an option to regenerate the suppressions
And use it in t/10-good.t so that all the tests are run with a fresh
suppression file.
Vincent Pit [Fri, 30 Oct 2015 15:33:56 +0000 (13:33 -0200)]
Test run time exceptions
Vincent Pit [Fri, 30 Oct 2015 15:30:20 +0000 (13:30 -0200)]
Enable the 'diag' option in tests
This will make it easier to debug test failures (like if the child dies).
Vincent Pit [Fri, 30 Oct 2015 15:22:53 +0000 (13:22 -0200)]
Add a prototype for tv_leak()
Vincent Pit [Fri, 30 Oct 2015 15:10:33 +0000 (13:10 -0200)]
No "unless else" please
Vincent Pit [Fri, 30 Oct 2015 15:00:34 +0000 (13:00 -0200)]
Fix the dummy XS code for PERL_IMPLICIT_SYS builds
Vincent Pit [Fri, 30 Oct 2015 14:53:30 +0000 (12:53 -0200)]
Update VPIT::TestHelpers to
ba865c42
Only needed for author tests, hence not bundled.
Vincent Pit [Fri, 30 Oct 2015 14:49:24 +0000 (12:49 -0200)]
Add a capital to make the spelling test happy
No stopwords? sad.
Vincent Pit [Fri, 30 Oct 2015 14:48:37 +0000 (12:48 -0200)]
Improve diagnostics when t/20-bad.t fails
In particular, make sure it always passes/fails the right number of tests.
Vincent Pit [Fri, 30 Oct 2015 14:27:36 +0000 (12:27 -0200)]
Freshen Makefile.PL
This should also fix handshake-related test failures with recent perls.
Vincent Pit [Fri, 30 Oct 2015 14:25:52 +0000 (12:25 -0200)]
Clean up tests
Vincent Pit [Fri, 30 Oct 2015 13:33:51 +0000 (11:33 -0200)]
Fix comment
Vincent Pit [Sun, 1 Sep 2013 17:10:38 +0000 (19:10 +0200)]
This is 1.14
Vincent Pit [Sun, 1 Sep 2013 17:00:03 +0000 (19:00 +0200)]
Remove trailing whitespace
Vincent Pit [Sun, 1 Sep 2013 16:56:30 +0000 (18:56 +0200)]
Bump copyright year
Vincent Pit [Sat, 24 Aug 2013 21:21:25 +0000 (18:21 -0300)]
Silence a POD link error
Vincent Pit [Sat, 24 Aug 2013 21:20:55 +0000 (18:20 -0300)]
Make sure the POD headings are linkable
Vincent Pit [Sat, 24 Aug 2013 16:39:22 +0000 (13:39 -0300)]
Remove obsolete kwalitee workarounds
Vincent Pit [Sat, 24 Aug 2013 13:40:35 +0000 (10:40 -0300)]
Put each POD sentence on its own line
Vincent Pit [Fri, 23 Aug 2013 19:35:44 +0000 (16:35 -0300)]
No tabs please
Vincent Pit [Thu, 22 Aug 2013 20:44:15 +0000 (17:44 -0300)]
Quote version numbers in Makefile.PL
Vincent Pit [Tue, 20 Aug 2013 21:16:21 +0000 (18:16 -0300)]
Stop bundling author tests
Vincent Pit [Wed, 7 Aug 2013 16:54:22 +0000 (13:54 -0300)]
Update author tests
Vincent Pit [Wed, 7 Aug 2013 16:52:43 +0000 (13:52 -0300)]
Sort MANIFEST
Vincent Pit [Wed, 7 Aug 2013 14:37:23 +0000 (11:37 -0300)]
Update the bug tracker URL in META after the rt.perl.org upgrade
Vincent Pit [Tue, 6 Aug 2013 03:22:17 +0000 (00:22 -0300)]
Get rid of t/99-kwalitee.t
New versions started to throw warnings if specific environment variables
are not set. This may be appropriate for dist manager users, but not really
for the rest of the world.
Since kwalitee metrics are either obvious or useless, there's no big loss
in removing this test anyway.
Vincent Pit [Sun, 19 Feb 2012 13:09:03 +0000 (14:09 +0100)]
Require Module::ExtractUse 0.24 for the Kwalitee test
Vincent Pit [Thu, 8 Sep 2011 10:17:28 +0000 (12:17 +0200)]
Make the stack trace test of t/20-bad.t more predictable
Since recently, the XSUBs can be declared static, so they may not appear in
the stack trace when optimizations are on. Work around this by leaking the
test memory from a function that can't be inlined.
Vincent Pit [Thu, 25 Aug 2011 15:42:18 +0000 (17:42 +0200)]
This is 1.13
Vincent Pit [Thu, 25 Aug 2011 15:33:32 +0000 (17:33 +0200)]
Bump copyright year
Vincent Pit [Thu, 25 Aug 2011 15:19:14 +0000 (17:19 +0200)]
Switch to qw<>
Vincent Pit [Thu, 25 Aug 2011 15:11:16 +0000 (17:11 +0200)]
Add META.json
Vincent Pit [Thu, 25 Aug 2011 15:09:01 +0000 (17:09 +0200)]
Encode the README file in UTF-8
Vincent Pit [Thu, 25 Aug 2011 15:08:31 +0000 (17:08 +0200)]
Ignore MYMETA.{json,yml}
Vincent Pit [Thu, 15 Apr 2010 06:33:02 +0000 (08:33 +0200)]
Bump copyright year
Vincent Pit [Thu, 15 Apr 2010 06:30:39 +0000 (08:30 +0200)]
Fix the session not calling ->finish at the right time
Vincent Pit [Sun, 29 Nov 2009 22:02:14 +0000 (23:02 +0100)]
Add missing t/81-suppressions-demangle.t to MANIFEST
Vincent Pit [Sun, 29 Nov 2009 16:40:03 +0000 (17:40 +0100)]
This is 1.12
Vincent Pit [Sun, 29 Nov 2009 16:37:06 +0000 (17:37 +0100)]
Thanks, David. Thanks, Debian people
Vincent Pit [Thu, 5 Nov 2009 18:13:43 +0000 (19:13 +0100)]
Z-demangle symbol names in suppressions
Vincent Pit [Wed, 4 Nov 2009 12:59:35 +0000 (13:59 +0100)]
There's no need to strip out lines containing "valgrind" from suppressions anymore
Vincent Pit [Tue, 3 Nov 2009 20:58:33 +0000 (21:58 +0100)]
Make Suppressions->strip_tail remove multiple ellipsis
Vincent Pit [Tue, 3 Nov 2009 13:26:08 +0000 (14:26 +0100)]
Also strip the (new) tail after cutting the suppression at Perl_runops
Vincent Pit [Tue, 3 Nov 2009 13:17:31 +0000 (14:17 +0100)]
Always strip wildcard frames at the end of a suppression
Thanks to a new Test::Valgrind::Suppressions->strip_tail helper.
Vincent Pit [Mon, 2 Nov 2009 09:54:17 +0000 (10:54 +0100)]
Add an INSTALL.SKIP file
So that we don't install the XS shared object if it's built.
Vincent Pit [Mon, 2 Nov 2009 09:41:40 +0000 (10:41 +0100)]
Consistently enforce a destruction level of 3
Vincent Pit [Fri, 30 Oct 2009 17:29:05 +0000 (18:29 +0100)]
Report which suppressions are used by the session
Vincent Pit [Fri, 30 Oct 2009 10:26:13 +0000 (11:26 +0100)]
Fix non-portable hex numbers
Vincent Pit [Mon, 26 Oct 2009 12:20:56 +0000 (13:20 +0100)]
The report_class is given by the tool, not by the action
Vincent Pit [Mon, 26 Oct 2009 11:21:45 +0000 (12:21 +0100)]
Improve Test::Valgrind front documentation
Vincent Pit [Thu, 8 Oct 2009 20:52:12 +0000 (22:52 +0200)]
This is 1.11
Vincent Pit [Sun, 4 Oct 2009 09:18:03 +0000 (11:18 +0200)]
Re-indent WriteMakefile() arguments
Vincent Pit [Sun, 4 Oct 2009 08:39:09 +0000 (10:39 +0200)]
Makefile.bak doesn't exist anymore
Vincent Pit [Sun, 4 Oct 2009 08:37:51 +0000 (10:37 +0200)]
Build the $name and the main $file from $dist
Vincent Pit [Sun, 4 Oct 2009 07:48:40 +0000 (09:48 +0200)]
Move $dist before %PREREQ_PM
Vincent Pit [Sun, 4 Oct 2009 07:28:22 +0000 (09:28 +0200)]
Give an explicit value to dynamic_config
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