From: Peter Rabbitson Date: Tue, 11 Jan 2011 17:25:39 +0000 (+0100) Subject: 5.8.1 threads are wonky - tests no longer pass with recent DBD::Pg X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c76e5262bd2cdd19ac0260b1a916767db304a953;p=dbsrgits%2FDBIx-Class-Historic.git 5.8.1 threads are wonky - tests no longer pass with recent DBD::Pg --- diff --git a/t/51threads.t b/t/51threads.t index 4564e3f..14d74e3 100644 --- a/t/51threads.t +++ b/t/51threads.t @@ -9,6 +9,11 @@ BEGIN { if !$Config{useithreads}; } +BEGIN { + plan skip_all => 'Minimum of perl 5.8.3 required for thread tests (DBD::Pg mandated)' + if $] < '5.008003'; +} + use threads; use Test::Exception; use lib qw(t/lib); diff --git a/t/51threadtxn.t b/t/51threadtxn.t index 84a4c3d..4c218d0 100644 --- a/t/51threadtxn.t +++ b/t/51threadtxn.t @@ -11,6 +11,12 @@ BEGIN { if !$Config{useithreads}; } +BEGIN { + plan skip_all => 'Minimum of perl 5.8.3 required for thread tests (DBD::Pg mandated)' + if $] < '5.008003'; +} + + use threads; use lib qw(t/lib);