summaryrefslogtreecommitdiffstats
path: root/test/testrunner_data.tcl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/testrunner_data.tcl45
1 files changed, 43 insertions, 2 deletions
diff --git a/test/testrunner_data.tcl b/test/testrunner_data.tcl
index 984c6d8..f8f12d9 100644
--- a/test/testrunner_data.tcl
+++ b/test/testrunner_data.tcl
@@ -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}
@@ -108,6 +110,7 @@ namespace eval trd {
-DSQLITE_ENABLE_STAT4
-DSQLITE_OMIT_LOOKASIDE=1
-DCONFIG_SLOWDOWN_FACTOR=5.0
+ -DSQLITE_ENABLE_RBU
--enable-debug
--enable-all
}
@@ -245,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
@@ -598,7 +635,12 @@ proc trd_buildscript {config srcdir bMsvc} {
# Ensure that the named configuration exists.
if {![info exists build($config)]} {
- error "No such build config: $config"
+ if {$config!="help"} {
+ puts "No such build config: $config"
+ }
+ puts "Available configurations: [lsort [array names build]]"
+ flush stdout
+ exit 1
}
# Generate and return the script.
@@ -637,4 +679,3 @@ proc trd_test_script_properties {path} {
set trd_test_script_properties_cache($path)
}
-