]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/40-threads.t
Skip threads tests unless perl version is 5.13.4 or greater
[perl/modules/Variable-Magic.git] / t / 40-threads.t
index d10146d603254114379ae09e924d1f240aa7c507..726b9cc0323868166c7095390a8d410ff3a826fc 100644 (file)
@@ -16,6 +16,7 @@ BEGIN {
  my $ts_v = '1.14';
  skipall 'This perl wasn\'t built to support threads'
                                                     unless $Config{useithreads};
+ skipall 'perl 5.13.4 required to test thread safety' unless $] >= 5.013004;
  skipall "threads $t_v required to test thread safety"
                                               unless eval "use threads $t_v; 1";
  skipall "threads::shared $ts_v required to test thread safety"