Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: third_party/sqlite/src/test/permutations.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/percentile.test ('k') | third_party/sqlite/src/test/pragma.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/permutations.test
diff --git a/third_party/sqlite/src/test/permutations.test b/third_party/sqlite/src/test/permutations.test
index 54239cc759531bf7771939a115063bb334d08f8d..28bbd3017e9e8964e2c3bad2e0e792baf709ffe3 100644
--- a/third_party/sqlite/src/test/permutations.test
+++ b/third_party/sqlite/src/test/permutations.test
@@ -96,7 +96,7 @@ if {$::tcl_platform(platform)!="unix"} {
set alltests [test_set $alltests -exclude {
all.test async.test quick.test veryquick.test
memleak.test permutations.test soak.test fts3.test
- mallocAll.test rtree.test full.test
+ mallocAll.test rtree.test full.test extraquick.test
}]
set allquicktests [test_set $alltests -exclude {
@@ -113,10 +113,24 @@ 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 rbu.test
}]
if {[info exists ::env(QUICKTEST_INCLUDE)]} {
set allquicktests [concat $allquicktests $::env(QUICKTEST_INCLUDE)]
}
+if {[info exists ::env(QUICKTEST_OMIT)]} {
+ foreach x [split $::env(QUICKTEST_OMIT) ,] {
+ regsub -all \\y$x\\y $allquicktests {} allquicktests
+ }
+}
+
+# If the TEST_FAILURE environment variable is set, it means that we what to
+# deliberately provoke test failures in order to test the test infrastructure.
+# Only the main.test module is needed for this.
+#
+if {[info exists ::env(TEST_FAILURE)]} {
+ set allquicktests main.test
+}
#############################################################################
# Start of tests
@@ -132,15 +146,26 @@ if {[info exists ::env(QUICKTEST_INCLUDE)]} {
lappend ::testsuitelist xxx
test_suite "veryquick" -prefix "" -description {
- "Very" quick test suite. Runs in less than 5 minutes on a workstation.
+ "Very" quick test suite. Runs in minutes on a workstation.
This test suite is the same as the "quick" tests, except that some files
that test malloc and IO errors are omitted.
} -files [
- test_set $allquicktests -exclude *malloc* *ioerr* *fault*
+ test_set $allquicktests -exclude *malloc* *ioerr* *fault* *bigfile*
+]
+
+test_suite "extraquick" -prefix "" -description {
+ "Extra" quick test suite. Runs in a few minutes on a workstation.
+ This test suite is the same as the "veryquick" tests, except that
+ slower tests are omitted.
+} -files [
+ test_set $allquicktests -exclude *malloc* *ioerr* *fault* *bigfile* \
+ wal3.test fts4merge* sort2.test mmap1.test walcrash* \
+ percentile.test where8m.test walcksum.test savepoint3.test \
+ fuzzer1.test fuzzer3.test fts3expr3.test
]
test_suite "mmap" -prefix "mm-" -description {
- Similar to veryquick. Except with memory mapping disabled.
+ Similar to veryquick. Except with memory mapping enabled.
} -presql {
pragma mmap_size = 268435456;
} -files [
@@ -151,7 +176,9 @@ test_suite "valgrind" -prefix "" -description {
Run the "veryquick" test suite with a couple of multi-process tests (that
fail under valgrind) omitted.
} -files [
- test_set $allquicktests -exclude *malloc* *ioerr* *fault* wal.test atof1.test
+ test_set $allquicktests -exclude *malloc* *ioerr* *fault* wal.test \
+ shell*.test crash8.test atof1.test selectG.test \
+ tkt-fc62af4523.test numindex1.test
] -initialize {
set ::G(valgrind) 1
} -shutdown {
@@ -222,6 +249,18 @@ test_suite "fts3" -prefix "" -description {
fts4growth.test fts4growth2.test
}
+test_suite "fts5" -prefix "" -description {
+ All FTS5 tests.
+} -files [glob -nocomplain $::testdir/../ext/fts5/test/*.test]
+
+test_suite "fts5-light" -prefix "" -description {
+ All FTS5 tests.
+} -files [
+ test_set \
+ [glob -nocomplain $::testdir/../ext/fts5/test/*.test] \
+ -exclude *corrupt* *fault* *big* *fts5aj*
+]
+
test_suite "nofaultsim" -prefix "" -description {
"Very" quick test suite. Runs in less than 5 minutes on a workstation.
This test suite is the same as the "quick" tests, except that some files
@@ -378,16 +417,16 @@ test_suite "memsubsys1" -description {
} -files [
test_set $::allquicktests -exclude ioerr5.test malloc5.test mmap1.test
] -initialize {
+ test_set_config_pagecache 4096 24
catch {db close}
sqlite3_shutdown
- sqlite3_config_pagecache 4096 24
sqlite3_config_scratch 25000 1
sqlite3_initialize
autoinstall_test_functions
} -shutdown {
+ test_restore_config_pagecache
catch {db close}
sqlite3_shutdown
- sqlite3_config_pagecache 0 0
sqlite3_config_scratch 0 0
sqlite3_initialize
autoinstall_test_functions
@@ -405,16 +444,16 @@ test_suite "memsubsys2" -description {
} -files [
test_set $::allquicktests -exclude ioerr5.test malloc5.test
] -initialize {
+ test_set_config_pagecache 512 5
catch {db close}
sqlite3_shutdown
- sqlite3_config_pagecache 512 5
sqlite3_config_scratch 1000 1
sqlite3_initialize
autoinstall_test_functions
} -shutdown {
+ test_restore_config_pagecache
catch {db close}
sqlite3_shutdown
- sqlite3_config_pagecache 0 0
sqlite3_config_scratch 0 0
sqlite3_initialize
autoinstall_test_functions
@@ -668,7 +707,7 @@ test_suite "inmemory_journal" -description {
pragma journal_mode = 'memory'
} -files [test_set $::allquicktests -exclude {
# Exclude all tests that simulate IO errors.
- autovacuum_ioerr2.test incrvacuum_ioerr.test ioerr.test
+ autovacuum_ioerr2.test cffault.test incrvacuum_ioerr.test ioerr.test
ioerr.test ioerr2.test ioerr3.test ioerr4.test ioerr5.test
vacuum3.test incrblob_err.test diskfull.test backup_ioerr.test
e_fts3.test fts3cov.test fts3malloc.test fts3rnd.test
@@ -684,12 +723,12 @@ test_suite "inmemory_journal" -description {
corrupt5.test corruptA.test pageropt.test
# Exclude stmt.test, which expects sub-journals to use temporary files.
- stmt.test
+ stmt.test symlink.test
zerodamage.test
# WAL mode is different.
- wal* tkt-2d1a5c67d.test backcompat.test
+ wal* tkt-2d1a5c67d.test backcompat.test e_wal* rowallock.test
}]
ifcapable mem3 {
@@ -923,6 +962,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 "rbu" -description {
+ RBU tests.
+} -files [
+ test_set [glob -nocomplain $::testdir/../ext/rbu/*.test] -exclude rbu.test
+]
+
test_suite "no_optimization" -description {
Run test scripts with optimizations disabled using the
sqlite3_test_control(SQLITE_TESTCTRL_OPTIMIZATIONS) interface.
« no previous file with comments | « third_party/sqlite/src/test/percentile.test ('k') | third_party/sqlite/src/test/pragma.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698