diff --git a/Changes b/Changes index 81530c5..1927a9d 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Changes for Perl extension DBD-SQLite +1.32_02 to be released + - Resolved #65267 for DBD-SQLite: Add RTree support option; + skip fts3/metadata tests if those features are disabled + (ISHIGAKI) + 1.32_01 Fri 10 Dec 2010 - Made util/getsqlite.pl work with the amalg distro filename changes introd by SQLite 3.7.4, and still with older ones also (DUNCAND) diff --git a/t/43_fts3.t b/t/43_fts3.t index 343fd0b..5a0e5f9 100644 --- a/t/43_fts3.t +++ b/t/43_fts3.t @@ -8,6 +8,7 @@ BEGIN { use t::lib::Test qw/connect_ok/; use Test::More; +use DBD::SQLite; my @texts = ("il était une bergère", "qui gardait ses moutons", @@ -30,6 +31,9 @@ BEGIN { if ($] < 5.008005) { plan skip_all => 'Unicode is not supported before 5.8.5'; } + if (!grep /ENABLE_FTS3/, DBD::SQLite::compile_options()) { + plan skip_all => 'FTS3 is disabled for this DBD::SQLite'; + } } use Test::NoWarnings; diff --git a/t/rt_40594_nullable.t b/t/rt_40594_nullable.t index 9cea181..8f3511b 100644 --- a/t/rt_40594_nullable.t +++ b/t/rt_40594_nullable.t @@ -6,8 +6,17 @@ BEGIN { $^W = 1; } -use Test::More tests => 7; +use Test::More; use t::lib::Test; +use DBD::SQLite; + +BEGIN { + if (!grep /^ENABLE_COLUMN_METADATA/, DBD::SQLite::compile_options()) { + plan skip_all => "Column metadata is disabled for this DBD::SQLite"; + } +} + +plan tests => 7; my $dbh = connect_ok(); diff --git a/t/rt_50503_fts3.t b/t/rt_50503_fts3.t index 8d4a51f..5900784 100644 --- a/t/rt_50503_fts3.t +++ b/t/rt_50503_fts3.t @@ -15,6 +15,9 @@ BEGIN { plan skip_all => "this test requires SQLite 3.6.6 and newer"; exit; } + if (!grep /^ENABLE_FTS3/, DBD::SQLite::compile_options()) { + plan skip_all => "FTS3 is disabled for this DBD::SQLite"; + } } use Test::NoWarnings;