1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Do not attempt to run fts5bigtok.test or fts5merge2.test if FTS5 is not compiled in.

FossilOrigin-Name: f7ed373953c2dea0919a85dfb461dfef512cd5fc
This commit is contained in:
dan
2016-03-01 16:56:26 +00:00
parent e82126c9d0
commit bce50c734b
5 changed files with 16 additions and 17 deletions

View File

@ -16,7 +16,10 @@ if {![info exists testdir]} {
source $testdir/tester.tcl
ifcapable !fts5 {
finish_test
proc return_if_no_fts5 {} {
finish_test
return -code return
}
return
}
@ -25,12 +28,6 @@ catch {
reset_db
}
# If SQLITE_ENABLE_FTS5 is not defined, skip this test.
ifcapable !fts5 {
finish_test
return
}
proc fts5_test_poslist {cmd} {
set res [list]
for {set i 0} {$i < [$cmd xInstCount]} {incr i} {