mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Ensure the test suite runs with SQLITE_OMIT_PAGER_PRAGMAS defined. (CVS 2145)
FossilOrigin-Name: 2d1f0b923d3c5a669959a03a4344fddcb69c7a98
This commit is contained in:
@ -11,12 +11,19 @@
|
||||
# This file implements regression tests for SQLite library.
|
||||
# This file implements tests for the page_size PRAGMA.
|
||||
#
|
||||
# $Id: pagesize.test,v 1.8 2004/11/10 15:27:38 danielk1977 Exp $
|
||||
# $Id: pagesize.test,v 1.9 2004/11/23 10:52:51 danielk1977 Exp $
|
||||
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
|
||||
# This test script depends entirely on "PRAGMA page_size". So if this
|
||||
# pragma is not available, omit the whole file.
|
||||
ifcapable !pager_pragmas {
|
||||
finish_test
|
||||
return
|
||||
}
|
||||
|
||||
do_test pagesize-1.1 {
|
||||
execsql {PRAGMA page_size}
|
||||
} 1024
|
||||
|
Reference in New Issue
Block a user