Change all.test, quick.test and permutations.test so that they use a separate interpreter for each test file.

FossilOrigin-Name: 7c33eb5a5add8fe76dd412ecab5b6ff8cd78a98d
This commit is contained in:
dan
2010-06-07 17:47:26 +00:00
parent c1a60c51dc
commit 430e74cd9b
23 changed files with 202 additions and 222 deletions
+3 -4
View File
@@ -883,12 +883,11 @@ proc signature {} {
# is in use, only 20 iterations. Otherwise the test pcache runs out
# of page slots and SQLite reports "out of memory".
#
if {[info exists ISQUICK] || (
$TEMP_STORE==3 && [catch {set ::permutations_test_prefix} val]==0 &&
[regexp {^pcache[[:digit:]]*$} $val]
if {[info exists G(isquick)] || (
$TEMP_STORE==3 && [regexp {^pcache[[:digit:]]*$} [permutation]]
) } {
set limit 20
} elseif {[info exists SOAKTEST]} {
} elseif {[info exists G(issoak)]} {
set limit 100
} else {
set limit 40