projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1645dd4
)
5.8.1 threads are wonky - tests no longer pass with recent DBD::Pg
Peter Rabbitson [Tue, 11 Jan 2011 17:25:39 +0000 (18:25 +0100)]
t/51threads.t
patch
|
blob
|
blame
|
history
t/51threadtxn.t
patch
|
blob
|
blame
|
history
diff --git
a/t/51threads.t
b/t/51threads.t
index
4564e3f
..
14d74e3
100644
(file)
--- 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
(file)
--- 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);