6 use Config qw/%Config/;
13 my $dbg = eval "Test::Valgrind::DEBUGGING()";
14 if ($desc =~ /still\s+reachable/) {
15 $passed = $a >= 9900 && $a < 10100;
20 local $TODO = "Leak count may be off on non-debugging perls";
26 $passed = defined $a && $a == 0;
34 XSLoader::load('Test::Valgrind', 0.04);
37 plan skip_all => "XS test code not available ($@)";
39 use lib qw{blib/archpub};
40 eval 'use Test::Valgrind cb => \&tester;';
42 plan skip_all => 'Test::Valgrind is required to run test your distribution with valgrind';
44 Test::Valgrind::leak();