1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script.

FossilOrigin-Name: 2662d8fef791f7b8b3b14f9c27dfedec84620dee
This commit is contained in:
dan
2016-04-27 18:54:49 +00:00
parent ad975d539e
commit 05accd2216
25 changed files with 127 additions and 64 deletions

View File

@ -1944,6 +1944,12 @@ proc wal_check_journal_mode {testname {db db}} {
}
}
proc wal_is_capable {} {
ifcapable !wal { return 0 }
if {[permutation]=="journaltest"} { return 0 }
return 1
}
proc permutation {} {
set perm ""
catch {set perm $::G(perm:name)}