X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F13-padsv.t;h=0509260d821f246df2c8770abec9b0b86e37851d;hb=bf1b09f4ab8df1710df549764d511b110c6cb396;hp=5e5cc3d32d49f8e00c6732ed6fa18630131c91e6;hpb=734804692468efc6c22d7faacb206d986f0a355d;p=perl%2Fmodules%2FLexical-Types.git diff --git a/t/13-padsv.t b/t/13-padsv.t index 5e5cc3d..0509260 100644 --- a/t/13-padsv.t +++ b/t/13-padsv.t @@ -3,6 +3,8 @@ use strict; use warnings; +use Config qw<%Config>; + use Test::More tests => 4; sub Str::TYPEDSCALAR { @@ -30,7 +32,10 @@ my @lines; sub Int::TYPEDSCALAR { push @lines, (caller(0))[2]; () } -{ +SKIP: { + skip 'Broken with threaded perls before 5.8.4' => 1 + if $Config{useithreads} and $] < 5.008004; + use Lexical::Types as => sub { # In 5.10, this closure is compiled before hints are enabled, so no hintseval # op is added at compile time to propagate the hints inside the eval.