X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F20-recurse.t;h=b8612371f617778f93aa920463a7a0392f025122;hb=80bbdd645dcd29e89423be24aa15d85a28be59f2;hp=2e639623c1ab9dd67255bf1e160da4f0c091cc4b;hpb=15b9171b2fc61b12e0dcc123369fc2b66fe87012;p=perl%2Fmodules%2FThread-Cleanup.git diff --git a/t/20-recurse.t b/t/20-recurse.t index 2e63962..b861237 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;