X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=t%2Fdb_colinfo.t;fp=t%2Fdb_colinfo.t;h=50f885f5971aa1d67b75df227837b2ba4a28b5ef;hb=404332b8ba75418b239e71fd8dcd142bc2a2f90c;hp=74dea75bee3c7b728d67ec2a01a2d855a3f8ae93;hpb=79aa8d27d124d06bf88b2fc0487ae97563b98936;p=maypole.git diff --git a/t/db_colinfo.t b/t/db_colinfo.t index 74dea75..50f885f 100755 --- a/t/db_colinfo.t +++ b/t/db_colinfo.t @@ -1,9 +1,12 @@ #!/usr/bin/perl -w use Test::More; use Data::Dumper; +use DBI; use lib 'examples'; # Where BeerDB should live BEGIN { - plan tests => 45; + my $drh = eval { DBI->install_driver("mysql"); }; + my $testcount = ($@) ? 45 : 65 ; + plan tests => $testcount; } $db = 'test';