1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

skip all the tests for table_column_metadata if ENABLE_COLUMN_METADATA is not set.

This commit is contained in:
Kenichi Ishigaki 2015-10-04 14:20:16 +09:00
parent 4891d48782
commit 3eb1a18420

View file

@ -6,6 +6,12 @@ BEGIN {
$^W = 1;
}
BEGIN {
if (!grep /^ENABLE_COLUMN_METADATA/, DBD::SQLite::compile_options()) {
plan skip_all => "Column metadata is disabled for this DBD::SQLite";
}
}
use t::lib::Test qw/connect_ok @CALL_FUNCS/;
use Test::More;
use Test::NoWarnings;