From: Vincent Pit Date: Mon, 30 Mar 2015 17:16:21 +0000 (-0300) Subject: Use PERL_FORCE_TEST_THREADS to force testing global destruction X-Git-Tag: v0.57~19 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=381d0cf3a97a6b9e78ea71fe4c4ab7344fa8e7fe;p=perl%2Fmodules%2FVariable-Magic.git Use PERL_FORCE_TEST_THREADS to force testing global destruction --- diff --git a/t/lib/Variable/Magic/TestGlobalDestruction.pm b/t/lib/Variable/Magic/TestGlobalDestruction.pm index c6639a6..06ab835 100644 --- a/t/lib/Variable/Magic/TestGlobalDestruction.pm +++ b/t/lib/Variable/Magic/TestGlobalDestruction.pm @@ -68,7 +68,7 @@ sub import { my $level = $args{level}; $level = 1 unless defined $level; - if ("$]" < 5.013_004 and not $ENV{PERL_VARIABLE_MAGIC_TEST_THREADS}) { + if ("$]" < 5.013_004 and not $ENV{PERL_FORCE_TEST_THREADS}) { _diag("perl 5.13.4 required to safely test global destruction"); return 0; }