Name : perl-Test-Valgrind
| |
Version : 1.190.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.2.1
| Date : 2024-08-03 20:25:49
|
Group : Unspecified
| Source RPM : perl-Test-Valgrind-1.190.0-lp156.2.1.src.rpm
|
Size : 0.19 MB
| |
Packager : https://www_suse_com/
| |
Summary : Generate suppressions, analyse and test any command with valgrind
|
Description :
This module is a front-end to the \'Test::Valgrind::*\' API that lets you run Perl code through the \'memcheck\' tool of the \'valgrind\' memory debugger, to test for memory errors and leaks. If they aren\'t available yet, it will first generate suppressions for the current \'perl\' interpreter and store them in the portable flavour of _~/.perl/Test-Valgrind/suppressions/$VERSION_. The actual run will then take place, and tests will be passed or failed according to the result of the analysis.
The complete API is much more versatile than this. By declaring an appropriate Test::Valgrind::Command class, you can run any executable (that is, not only Perl scripts) under valgrind, generate the corresponding suppressions on-the-fly and convert the analysis result to TAP output so that it can be incorporated into your project\'s testsuite. If you\'re not interested in producing TAP, you can output the results in whatever format you like (for example HTML pages) by defining your own Test::Valgrind::Action class.
Due to the nature of perl\'s memory allocator, this module can\'t track leaks of Perl objects. This includes non-mortalized scalars and memory cycles. However, it can track leaks of chunks of memory allocated in XS extensions with \'Newx\' and friends or \'malloc\'. As such, it\'s complementary to the other very good leak detectors listed in the SEE ALSO section.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.6/x86_64 |