From: Peter Rabbitson Date: Mon, 9 Mar 2009 12:22:54 +0000 (+0000) Subject: Disable reconnect test except fpor when AUTHORS is set X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d5add124dda0eda62a0300a5694fa3a6a7bb2a6;p=dbsrgits%2FDBIx-Class-Historic.git Disable reconnect test except fpor when AUTHORS is set --- diff --git a/t/33storage_reconnect.t b/t/33storage_reconnect.t index 993cfad..5684134 100644 --- a/t/33storage_reconnect.t +++ b/t/33storage_reconnect.t @@ -7,7 +7,14 @@ use Test::More; use lib qw(t/lib); use DBICTest; -plan tests => 6; +{ + no warnings qw/once/; + require inc::Module::Install; + plan $Module::Install::AUTHOR + ? (tests => 6) + : (skip_all => 'Test temporarily disabled due to a widespread buggy SQLite version') + ; +} my $db_orig = "$FindBin::Bin/var/DBIxClass.db"; my $db_tmp = "$db_orig.tmp";