aboutsummaryrefslogtreecommitdiff
path: root/test/fuzz_malloc.test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-06-18 12:22:43 +0000
committerdrh <drh@noemail.net>2007-06-18 12:22:43 +0000
commit44548eccb9f10ed3e8bc50b786c87d9b70b0d372 (patch)
tree49360df9e9c5b3eaa2cb4c007d4f7093375326df /test/fuzz_malloc.test
parent4f0aee41c3fe8d13e4c15b17dbfe1d1b09a4800f (diff)
downloadsqlite-44548eccb9f10ed3e8bc50b786c87d9b70b0d372.tar.gz
sqlite-44548eccb9f10ed3e8bc50b786c87d9b70b0d372.zip
Documentation updates prior to release 3.4.0. Enhanced support for
soak testing in the test scripts. (CVS 4084) FossilOrigin-Name: eec387103869940697487ec5226eaed0b51ede7a
Diffstat (limited to 'test/fuzz_malloc.test')
-rw-r--r--test/fuzz_malloc.test10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/fuzz_malloc.test b/test/fuzz_malloc.test
index 7f4232398..30cdc50ae 100644
--- a/test/fuzz_malloc.test
+++ b/test/fuzz_malloc.test
@@ -12,7 +12,7 @@
#
# This file tests malloc failures in concert with fuzzy SQL generation.
#
-# $Id: fuzz_malloc.test,v 1.4 2007/06/15 17:03:15 drh Exp $
+# $Id: fuzz_malloc.test,v 1.5 2007/06/18 12:22:43 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -28,7 +28,13 @@ if {[info command sqlite_malloc_stat]==""} {
source $testdir/fuzz_common.tcl
source $testdir/malloc_common.tcl
-set ::REPEATS 40
+if {[info exists ISQUICK]} {
+ set ::REPEATS 20
+} elseif {[info exists SOAKTEST]} {
+ set ::REPEATS 100
+} else {
+ set ::REPEATS 40
+}
#
# Usage: do_fuzzy_malloc_test <testname> ?<options>?