aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ota.test18
-rw-r--r--test/permutations.test8
-rw-r--r--test/pragma.test1
-rw-r--r--test/releasetest.tcl1
4 files changed, 26 insertions, 2 deletions
diff --git a/test/ota.test b/test/ota.test
new file mode 100644
index 000000000..9dc01c2b3
--- /dev/null
+++ b/test/ota.test
@@ -0,0 +1,18 @@
+# 2014 September 20
+#
+# May you do good and not evil.
+# May you find forgiveness for yourself and forgive others.
+# May you share freely, never taking more than you give.
+#
+#***********************************************************************
+# This file runs all rtree related tests.
+#
+
+set testdir [file dirname $argv0]
+source $testdir/permutations.test
+
+ifcapable !ota { finish_test ; return }
+
+run_test_suite ota
+finish_test
+
diff --git a/test/permutations.test b/test/permutations.test
index 44f62e806..ba49700b7 100644
--- a/test/permutations.test
+++ b/test/permutations.test
@@ -113,7 +113,7 @@ set allquicktests [test_set $alltests -exclude {
vtab_err.test walslow.test walcrash.test walcrash3.test
walthread.test rtree3.test indexfault.test securedel2.test
sort3.test sort4.test fts4growth.test fts4growth2.test
- bigsort.test
+ bigsort.test ota.test
}]
if {[info exists ::env(QUICKTEST_INCLUDE)]} {
set allquicktests [concat $allquicktests $::env(QUICKTEST_INCLUDE)]
@@ -939,6 +939,12 @@ test_suite "rtree" -description {
All R-tree related tests. Provides coverage of source file rtree.c.
} -files [glob -nocomplain $::testdir/../ext/rtree/*.test]
+test_suite "ota" -description {
+ OTA tests.
+} -files [
+ test_set [glob -nocomplain $::testdir/../ext/ota/*.test] -exclude ota.test
+]
+
test_suite "no_optimization" -description {
Run test scripts with optimizations disabled using the
sqlite3_test_control(SQLITE_TESTCTRL_OPTIMIZATIONS) interface.
diff --git a/test/pragma.test b/test/pragma.test
index e2673d3ee..1628cbaec 100644
--- a/test/pragma.test
+++ b/test/pragma.test
@@ -1743,7 +1743,6 @@ do_test 23.2a {
db2 eval {SELECT cid, name, "desc", coll, "key", '|' FROM out ORDER BY seqno}
} {2 c 0 BINARY 1 | 3 d 0 BINARY 1 | 1 b 0 BINARY 1 |}
do_test 23.2b {
-breakpoint;
capture_pragma db2 out {PRAGMA index_xinfo(i2)}
db2 eval {SELECT cid, name, "desc", coll, "key", '|' FROM out ORDER BY seqno}
} {2 c 0 BINARY 1 | 3 d 0 BINARY 1 | 1 b 0 BINARY 1 | -1 {} 0 BINARY 0 |}
diff --git a/test/releasetest.tcl b/test/releasetest.tcl
index 746fc9bb3..aa12433af 100644
--- a/test/releasetest.tcl
+++ b/test/releasetest.tcl
@@ -106,6 +106,7 @@ array set ::Configs [strip_comments {
-DSQLITE_ENABLE_MEMSYS3=1
-DSQLITE_ENABLE_COLUMN_METADATA=1
-DSQLITE_ENABLE_STAT4
+ -DSQLITE_ENABLE_OTA
-DSQLITE_MAX_ATTACHED=125
}
"Device-One" {