aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/permutations.test4
-rw-r--r--test/speed1.test6
-rw-r--r--test/speed1p.test6
3 files changed, 9 insertions, 7 deletions
diff --git a/test/permutations.test b/test/permutations.test
index 735eaa666..738ab44ae 100644
--- a/test/permutations.test
+++ b/test/permutations.test
@@ -9,7 +9,7 @@
#
#***********************************************************************
#
-# $Id: permutations.test,v 1.17 2008/07/25 08:49:01 danielk1977 Exp $
+# $Id: permutations.test,v 1.18 2008/07/30 13:15:46 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -141,6 +141,7 @@ proc run_tests {name args} {
run_tests "memsubsys1" -description {
Tests using pre-allocated page and scratch blocks
} -initialize {
+ catch {db close}
sqlite3_shutdown
sqlite3_config_pagecache 4096 24
sqlite3_config_scratch 25000 1
@@ -159,6 +160,7 @@ run_tests "memsubsys1" -description {
run_tests "memsubsys2" -description {
Tests using small pre-allocated page and scratch blocks
} -initialize {
+ catch {db close}
sqlite3_shutdown
sqlite3_config_pagecache 512 5
sqlite3_config_scratch 1000 1
diff --git a/test/speed1.test b/test/speed1.test
index 5fab54f36..8fec75971 100644
--- a/test/speed1.test
+++ b/test/speed1.test
@@ -11,13 +11,13 @@
# This file implements regression tests for SQLite library. The
# focus of this script is measuring executing speed.
#
-# $Id: speed1.test,v 1.8 2008/07/29 14:29:07 drh Exp $
+# $Id: speed1.test,v 1.9 2008/07/30 13:15:46 drh Exp $
#
sqlite3_shutdown
-sqlite3_config_scratch 29000 1
+#sqlite3_config_scratch 29000 1
sqlite3_config_lookaside 1000 300
-sqlite3_config_pagecache 1024 10000
+#sqlite3_config_pagecache 1024 10000
set testdir [file dirname $argv0]
source $testdir/tester.tcl
speed_trial_init speed1
diff --git a/test/speed1p.test b/test/speed1p.test
index eb968d440..4e14fc939 100644
--- a/test/speed1p.test
+++ b/test/speed1p.test
@@ -13,13 +13,13 @@
#
# This is a copy of speed1.test modified to user prepared statements.
#
-# $Id: speed1p.test,v 1.4 2008/07/29 14:29:07 drh Exp $
+# $Id: speed1p.test,v 1.5 2008/07/30 13:15:46 drh Exp $
#
sqlite3_shutdown
-sqlite3_config_scratch 29000 1
+#sqlite3_config_scratch 29000 1
sqlite3_config_lookaside 2048 300
-sqlite3_config_pagecache 1024 11000
+#sqlite3_config_pagecache 1024 11000
set testdir [file dirname $argv0]
source $testdir/tester.tcl
speed_trial_init speed1