]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/41-clone.t
Skip threads tests unless perl version is 5.13.4 or greater
[perl/modules/Variable-Magic.git] / t / 41-clone.t
index b6bd2a8f70af3c2169d8ce66d976cd7069126f25..30d300bb521e3491786125b02da5d6d2af1f5d53 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"