Subject: | Test::More 0.71 causes test failures |
Test::More 0.71 causes test failures:
t/zvg_05thrclone..........You tried to run a test without a plan at
./t/05thrclone.t line 37.
BEGIN failed--compilation aborted at ./t/05thrclone.t line 38.
Compilation failed in require at t/zvg_05thrclone.t line 4.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
The attached patch fixes this.
Subject: | dbi.patch |
diff -urN DBI-1.59/t/05thrclone.t DBI-patched/t/05thrclone.t
--- DBI-1.59/t/05thrclone.t 2007-08-22 12:45:36.000000000 -0400
+++ DBI-patched/t/05thrclone.t 2007-09-14 22:28:44.675250000 -0400
@@ -10,16 +10,18 @@
use Config qw(%Config);
use Test::More;
+my $threads;
+
BEGIN {
if (!$Config{useithreads} || $] < 5.008) {
plan skip_all => "this $^O perl $] not configured to support iThreads";
}
die $use_threads_err if $use_threads_err; # need threads
-}
-my $threads = 10;
+ $threads = 10;
-plan tests => 3 + 4 * $threads;
+ plan tests => 3 + 4 * $threads;
+}
# Something about DBD::Gofer causes a problem. Older versions didn't leak. It
# started at some point in development but I didn't track it down at the time