This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
create SV leak test infrastructure
authorDavid Mitchell <davem@iabyn.com>
Sun, 11 Apr 2010 14:23:17 +0000 (15:23 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 11 Apr 2010 14:26:25 +0000 (15:26 +0100)
commitd97c33b505dd45c052a8bf42014917701b4502a5
tree2167944035ac32eb8b0336db0cbd451ee69aef38
parent27e904532594b7fb224bdf9a05bf3b5336b8a39e
create SV leak test infrastructure

Add an sv_count() function to XS::APItest to allow access to PL_sv_count,
then add new test file t/op/svleak.t that allows you yo run a code
fragment a few times and test whether the number of allocated SVs has
increased
MANIFEST
ext/XS-APItest/APItest.pm
ext/XS-APItest/APItest.xs
t/op/svleak.t [new file with mode: 0644]