Skip to content
Sections
>> Trisquel >> Packages >> aramo >> perl >> libtest-valgrind-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libtest-valgrind-perl  ]

Package: libtest-valgrind-perl (1.19-3)

module to test Perl code through valgrind

Test::Valgrind is a module that lets you run Perl code through the memcheck tool of the Valgrind Memory Debugger, to test it for memory errors and leaks.

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 such as Test::LeakTrace.

Additionally, this module can run arbitrary commands (not just Perl code) and provide output compliant with Perl's Test Anything Protocol (TAP). This means that any executable can be run under valgrind and incorporated into your testsuite.

Other Packages Related to libtest-valgrind-perl

  • depends
  • recommends
  • suggests

Download libtest-valgrind-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 85.2 kB229 kB [list of files]