X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F20-recurse.t;h=24e6184a3a93e0cb8b0660aba641b05d77ddd549;hb=a6ef23f3614ebe367d16904ed1fb79d203ce4db7;hp=2e639623c1ab9dd67255bf1e160da4f0c091cc4b;hpb=15b9171b2fc61b12e0dcc123369fc2b66fe87012;p=perl%2Fmodules%2FThread-Cleanup.git diff --git a/t/20-recurse.t b/t/20-recurse.t index 2e63962..24e6184 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.011005; our $x = -1;