]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/log
perl/modules/Test-Valgrind.git
8 years agoMake Test::Valgrind skip if no appropriate suppressions are available rt101934
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.

8 years agoMake sure t/20-bad.t does no extra checks when no valgrind was found
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

8 years agoThis is 1.15 v1.15
Vincent Pit [Fri, 30 Oct 2015 16:15:07 +0000 (14:15 -0200)]
This is 1.15

8 years agoBump copyright year
Vincent Pit [Fri, 30 Oct 2015 15:56:56 +0000 (13:56 -0200)]
Bump copyright year

8 years agoAdd 'regen_def_supp', an option to regenerate the suppressions
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.

8 years agoTest run time exceptions
Vincent Pit [Fri, 30 Oct 2015 15:33:56 +0000 (13:33 -0200)]
Test run time exceptions

8 years agoEnable the 'diag' option in tests
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).

8 years agoAdd a prototype for tv_leak()
Vincent Pit [Fri, 30 Oct 2015 15:22:53 +0000 (13:22 -0200)]
Add a prototype for tv_leak()

8 years agoNo "unless else" please
Vincent Pit [Fri, 30 Oct 2015 15:10:33 +0000 (13:10 -0200)]
No "unless else" please

8 years agoFix the dummy XS code for PERL_IMPLICIT_SYS builds
Vincent Pit [Fri, 30 Oct 2015 15:00:34 +0000 (13:00 -0200)]
Fix the dummy XS code for PERL_IMPLICIT_SYS builds

8 years agoUpdate VPIT::TestHelpers to ba865c42
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.

8 years agoAdd a capital to make the spelling test happy
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.

8 years agoImprove diagnostics when t/20-bad.t fails
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.

8 years agoFreshen Makefile.PL
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.

8 years agoClean up tests
Vincent Pit [Fri, 30 Oct 2015 14:25:52 +0000 (12:25 -0200)]
Clean up tests

8 years agoFix comment
Vincent Pit [Fri, 30 Oct 2015 13:33:51 +0000 (11:33 -0200)]
Fix comment

10 years agoThis is 1.14 v1.14
Vincent Pit [Sun, 1 Sep 2013 17:10:38 +0000 (19:10 +0200)]
This is 1.14

10 years agoRemove trailing whitespace
Vincent Pit [Sun, 1 Sep 2013 17:00:03 +0000 (19:00 +0200)]
Remove trailing whitespace

10 years agoBump copyright year
Vincent Pit [Sun, 1 Sep 2013 16:56:30 +0000 (18:56 +0200)]
Bump copyright year

10 years agoSilence a POD link error
Vincent Pit [Sat, 24 Aug 2013 21:21:25 +0000 (18:21 -0300)]
Silence a POD link error

10 years agoMake sure the POD headings are linkable
Vincent Pit [Sat, 24 Aug 2013 21:20:55 +0000 (18:20 -0300)]
Make sure the POD headings are linkable

10 years agoRemove obsolete kwalitee workarounds
Vincent Pit [Sat, 24 Aug 2013 16:39:22 +0000 (13:39 -0300)]
Remove obsolete kwalitee workarounds

10 years agoPut each POD sentence on its own line
Vincent Pit [Sat, 24 Aug 2013 13:40:35 +0000 (10:40 -0300)]
Put each POD sentence on its own line

10 years agoNo tabs please
Vincent Pit [Fri, 23 Aug 2013 19:35:44 +0000 (16:35 -0300)]
No tabs please

10 years agoQuote version numbers in Makefile.PL
Vincent Pit [Thu, 22 Aug 2013 20:44:15 +0000 (17:44 -0300)]
Quote version numbers in Makefile.PL

10 years agoStop bundling author tests
Vincent Pit [Tue, 20 Aug 2013 21:16:21 +0000 (18:16 -0300)]
Stop bundling author tests

10 years agoUpdate author tests
Vincent Pit [Wed, 7 Aug 2013 16:54:22 +0000 (13:54 -0300)]
Update author tests

10 years agoSort MANIFEST
Vincent Pit [Wed, 7 Aug 2013 16:52:43 +0000 (13:52 -0300)]
Sort MANIFEST

10 years agoUpdate the bug tracker URL in META after the rt.perl.org upgrade
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

10 years agoGet rid of t/99-kwalitee.t rt88074
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.

12 years agoRequire Module::ExtractUse 0.24 for the Kwalitee test
Vincent Pit [Sun, 19 Feb 2012 13:09:03 +0000 (14:09 +0100)]
Require Module::ExtractUse 0.24 for the Kwalitee test

12 years agoMake the stack trace test of t/20-bad.t more predictable
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.

12 years agoThis is 1.13 v1.13
Vincent Pit [Thu, 25 Aug 2011 15:42:18 +0000 (17:42 +0200)]
This is 1.13

12 years agoBump copyright year
Vincent Pit [Thu, 25 Aug 2011 15:33:32 +0000 (17:33 +0200)]
Bump copyright year

12 years agoSwitch to qw<>
Vincent Pit [Thu, 25 Aug 2011 15:19:14 +0000 (17:19 +0200)]
Switch to qw<>

12 years agoAdd META.json
Vincent Pit [Thu, 25 Aug 2011 15:11:16 +0000 (17:11 +0200)]
Add META.json

12 years agoEncode the README file in UTF-8
Vincent Pit [Thu, 25 Aug 2011 15:09:01 +0000 (17:09 +0200)]
Encode the README file in UTF-8

12 years agoIgnore MYMETA.{json,yml}
Vincent Pit [Thu, 25 Aug 2011 15:08:31 +0000 (17:08 +0200)]
Ignore MYMETA.{json,yml}

14 years agoBump copyright year
Vincent Pit [Thu, 15 Apr 2010 06:33:02 +0000 (08:33 +0200)]
Bump copyright year

14 years agoFix the session not calling ->finish at the right time
Vincent Pit [Thu, 15 Apr 2010 06:30:39 +0000 (08:30 +0200)]
Fix the session not calling ->finish at the right time

14 years agoAdd missing t/81-suppressions-demangle.t to MANIFEST
Vincent Pit [Sun, 29 Nov 2009 22:02:14 +0000 (23:02 +0100)]
Add missing t/81-suppressions-demangle.t to MANIFEST

14 years agoThis is 1.12 v1.12
Vincent Pit [Sun, 29 Nov 2009 16:40:03 +0000 (17:40 +0100)]
This is 1.12

14 years agoThanks, David. Thanks, Debian people
Vincent Pit [Sun, 29 Nov 2009 16:37:06 +0000 (17:37 +0100)]
Thanks, David. Thanks, Debian people

14 years agoZ-demangle symbol names in suppressions
Vincent Pit [Thu, 5 Nov 2009 18:13:43 +0000 (19:13 +0100)]
Z-demangle symbol names in suppressions

14 years agoThere's no need to strip out lines containing "valgrind" from suppressions anymore
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

14 years agoMake Suppressions->strip_tail remove multiple ellipsis
Vincent Pit [Tue, 3 Nov 2009 20:58:33 +0000 (21:58 +0100)]
Make Suppressions->strip_tail remove multiple ellipsis

14 years agoAlso strip the (new) tail after cutting the suppression at Perl_runops
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

14 years agoAlways strip wildcard frames at the end of a suppression
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.

14 years agoAdd an INSTALL.SKIP file
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.

14 years agoConsistently enforce a destruction level of 3
Vincent Pit [Mon, 2 Nov 2009 09:41:40 +0000 (10:41 +0100)]
Consistently enforce a destruction level of 3

14 years agoReport which suppressions are used by the session
Vincent Pit [Fri, 30 Oct 2009 17:29:05 +0000 (18:29 +0100)]
Report which suppressions are used by the session

14 years agoFix non-portable hex numbers
Vincent Pit [Fri, 30 Oct 2009 10:26:13 +0000 (11:26 +0100)]
Fix non-portable hex numbers

14 years agoThe report_class is given by the tool, not by the action
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

14 years agoImprove Test::Valgrind front documentation
Vincent Pit [Mon, 26 Oct 2009 11:21:45 +0000 (12:21 +0100)]
Improve Test::Valgrind front documentation

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