mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
skip fts3/metadata tests when those are disabled to resolve #65267
This commit is contained in:
parent
f7590e7c2f
commit
764b446776
4 changed files with 22 additions and 1 deletions
5
Changes
5
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)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue