From: Robert Sedlacek Date: Wed, 30 Sep 2015 04:01:30 +0000 (+0000) Subject: skip when DBD::SQLite not available X-Git-Tag: v0.000001~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1eeafdb9ca34c85d4ccb4c33f02ef4b140ba72ca;p=dbsrgits%2FDBIx-Class-ParameterizedJoinHack.git skip when DBD::SQLite not available --- diff --git a/t/00basic.t b/t/00basic.t index 348353e..8b0e9bc 100644 --- a/t/00basic.t +++ b/t/00basic.t @@ -5,6 +5,10 @@ use Test::More; use Test::Fatal; use My::Schema; +unless (eval { require DBD::SQLite; 1 }) { + plan skip_all => 'Unable to load DBD::SQLite'; +} + my $schema = My::Schema->connect('dbi:SQLite:dbname=:memory:'); $schema->deploy;