Generate suppressions, analyze and test any command with valgrind
The Test::Valgrind::* API lets you run Perl code through the memcheck tool of the valgrind memory debugger, to test for memory errors and leaks. The Test::Valgrind module itself is a front-end to this API. If they aren't available yet, it will first generate suppressions for the current perl interpreter and store them in the portable flavor 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 test suite. 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.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.19-26.fc41 | - |
Fedora 41 | 1.19-26.fc41 | - |
Fedora 40 | 1.19-25.fc40 | - |
Fedora EPEL 9 | 1.19-17.el9 | - |
Fedora EPEL 8 | 1.19-12.el8 | - |
Fedora EPEL 10.0 | 1.19-23.el10_0 | - |
You can contact the maintainers of this package via email at
perl-Test-Valgrind dash maintainers at fedoraproject dot org
.