X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;ds=sidebyside;f=t%2F20-recurse.t;h=be45423ab73115cd54b0d7a7fe5ba9a245ef16ff;hb=6d1d69e4a20e6cc19f488bb300bcf37dc1c0d0f6;hp=2e639623c1ab9dd67255bf1e160da4f0c091cc4b;hpb=15b9171b2fc61b12e0dcc123369fc2b66fe87012;p=perl%2Fmodules%2FThread-Cleanup.git diff --git a/t/20-recurse.t b/t/20-recurse.t index 2e63962..be45423 100644 --- a/t/20-recurse.t +++ b/t/20-recurse.t @@ -24,11 +24,14 @@ BEGIN { use Test::More tests => (($num ** ($depth + 1) - 1) / ($num - 1) - 1 ) * (2 + 2) + 1; +BEGIN { + defined and diag "Using threads $_" for $threads::VERSION; + defined and diag "Using threads::shared $_" for $threads::shared::VERSION; +} + use Thread::Cleanup; -diag "Using threads $threads::VERSION"; -diag "Using threads::shared $threads::shared::VERSION"; -diag 'This will leak some scalars'; +diag 'This will leak some scalars' unless "$]" >= 5.011_005; our $x = -1;