1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Enhancements to testrunner.tcl:

(1) Add the "--config CONFIGS" option, to that only configuration named
on the comma-separated list CONFIGS are run.
(2) Add the "--omit CONFIGS" to omit configuration on the CONFIGS list
(3) Add the Android configuration to "release"

FossilOrigin-Name: 4ccb372967fab779b29be8f01c879a99ef247981466f81f55e18e3961fbd7d5a
This commit is contained in:
drh
2024-03-21 11:46:52 +00:00
parent af64a22762
commit 529ed1a3a3
5 changed files with 66 additions and 19 deletions

View File

@ -23,6 +23,7 @@ namespace eval trd {
set tcltest(linux.No-lookaside) veryquick
set tcltest(linux.Devkit) veryquick
set tcltest(linux.Apple) veryquick
set tcltest(linux.Android) veryquick
set tcltest(linux.Sanitize) veryquick
set tcltest(linux.Device-One) all
set tcltest(linux.Default) all_plus_autovacuum_crash
@ -53,6 +54,7 @@ namespace eval trd {
set extra(linux.Device-Two) {fuzztest sourcetest threadtest}
set extra(linux.No-lookaside) {fuzztest sourcetest}
set extra(linux.Devkit) {fuzztest sourcetest}
set extra(linux.Android) {fuzztest sourcetest}
set extra(linux.Apple) {fuzztest sourcetest}
set extra(linux.Sanitize) {fuzztest sourcetest}
set extra(linux.Default) {fuzztest sourcetest threadtest}
@ -246,6 +248,40 @@ namespace eval trd {
-O2
-DSQLITE_ENABLE_LOCKING_STYLE=1
}
set build(Android) {
-Os
-DHAVE_USLEEP=1
-DSQLITE_HAVE_ISNAN
-DSQLITE_POWERSAFE_OVERWRITE=1
-DSQLITE_DEFAULT_FILE_FORMAT=4
-DSQLITE_DEFAULT_AUTOVACUUM=1
-DSQLITE_ENABLE_MEMORY_MANAGEMENT=1
-DSQLITE_ENABLE_FTS3
-DSQLITE_ENABLE_FTS3_BACKWARDS
-DSQLITE_ENABLE_FTS4
-DSQLITE_SECURE_DELETE
-DSQLITE_ENABLE_BATCH_ATOMIC_WRITE
-DBIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD
-DSQLITE_ALLOW_ROWID_IN_VIEW
-DSQLITE_ENABLE_BYTECODE_VTAB
-Wno-unused-parameter
-Werror
-DUSE_PREAD64
-Dfdatasync=fdatasync
-DHAVE_MALLOC_H=1
-DHAVE_MALLOC_USABLE_SIZE
-DSQLITE_ENABLE_DBSTAT_VTAB
}
# Compile-options used by Android but omitted from these
# tests:
# -DNDEBUG=1
# -DSQLITE_DEFAULT_LEGACY_ALTER_TABLE
# -DSQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576
# -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600
# -DSQLITE_OMIT_BUILTIN_TEST
# -DSQLITE_OMIT_LOAD_EXTENSION
# -DSQLITE_OMIT_COMPILEOPTION_DIAGS
#
set build(Apple) {
-Os
-DHAVE_GMTIME_R=1