Generate suppressions, analyze and test any command with valgrind
82.61 KB
built 2026-10-17 01:48:13 GMT
Description
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.
Dependencies
42 totalRequires41
- coreutils
- findutils
- gcc
- make
- perl(Carp)
- perl(Config)
- perl(Digest::MD5)
- perl(DynaLoader)
- perl(Env::Sanctify)
- perl(ExtUtils::Install) >= 1.38
- perl(ExtUtils::MM)
- perl(ExtUtils::MakeMaker)
- perl(Fcntl)
- perl(File::HomeDir) >= 0.86
- perl(File::Path)
- perl(File::Spec)
- perl(File::Temp) >= 0.19
- perl(Filter::Util::Call)
- perl(IO::Select)
- perl(List::Util)
- perl(POSIX)
- perl(Perl::Destruct::Level)
- perl(Scalar::Util)
- perl(Test::Builder)
- perl(Test::More)
- perl(Time::HiRes)
- perl(XML::Twig)
- perl(XML::Twig::Elt)
- perl(XSLoader)
- perl(base)
- perl(lib)
- perl(overload)
- perl(strict)
- perl(warnings)
- perl-devel
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- sed
- valgrind >= 3.1.0
Provides1
- perl-Test-Valgrind = 1.19-30.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
3Name ![]() |
Size |
|---|---|
| Test-Valgrind-1.19-Perl_pp_entersub.patch | 834.00 B |
| Test-Valgrind-1.19.tar.gz | 52.30 KB |
| perl-Test-Valgrind.spec | 15.10 KB |
Files 1–3 of 3
Component of
buildroots that installed this RPMNo Buildroots
