]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/commit
Make the stack trace test of t/20-bad.t more predictable
authorVincent Pit <vince@profvince.com>
Thu, 8 Sep 2011 10:17:28 +0000 (12:17 +0200)
committerVincent Pit <vince@profvince.com>
Thu, 8 Sep 2011 10:17:56 +0000 (12:17 +0200)
commitcc7a828047363ac6c6021fd0857e4748ac0e646b
treef0eaa69905d47e133e896efaf1c25aea4916e534
parentcea977523ce9c4be865b97a0813a5e14cce873f9
Make the stack trace test of t/20-bad.t more predictable

Since recently, the XSUBs can be declared static, so they may not appear in
the stack trace when optimizations are on. Work around this by leaking the
test memory from a function that can't be inlined.
Valgrind.xs
t/lib/Test/Valgrind/Test/Action.pm