X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F51threadnodb.t;h=95c9aafa255933d88824bac63366e56bb85652a1;hb=2131aa2eac548e0b10325b97c10d22a61fffd9c9;hp=52cdcd8b52147fdce6ed9ede28b370fc8a03fd8c;hpb=a4367b26b7b086d368880cd4d822eb4fb34603e7;p=dbsrgits%2FDBIx-Class.git diff --git a/t/51threadnodb.t b/t/51threadnodb.t index 52cdcd8..95c9aaf 100644 --- a/t/51threadnodb.t +++ b/t/51threadnodb.t @@ -4,6 +4,11 @@ BEGIN { print "1..0 # SKIP your perl does not support ithreads\n"; exit 0; } + + if ($INC{'Devel/Cover.pm'}) { + print "1..0 # SKIP Devel::Cover does not work with threads yet\n"; + exit 0; + } } use threads; @@ -11,11 +16,14 @@ use strict; use warnings; use Test::More; +use lib qw(t/lib); +use DBICTest; + plan skip_all => 'DBIC does not actively support threads before perl 5.8.5' if $] < '5.008005'; -use lib qw(t/lib); -use DBICTest; +plan skip_all => 'Potential problems on Win32 Perl < 5.14 and Variable::Magic - investigation pending' + if $^O eq 'MSWin32' && $] < 5.014 && DBICTest::RunMode->is_plain; # README: If you set the env var to a number greater than 10, # we will use that many children