]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Do not try to run the fuzz_malloc tests if SQLITE_MEMDEBUG is not enabled. (CVS 4066)
authordrh <drh@noemail.net>
Fri, 15 Jun 2007 13:57:19 +0000 (13:57 +0000)
committerdrh <drh@noemail.net>
Fri, 15 Jun 2007 13:57:19 +0000 (13:57 +0000)
FossilOrigin-Name: 452115959f1bd22bfe64ed10724d6d08d4cbe3f5

manifest
manifest.uuid
test/fuzz_malloc.test

index 664752daaf47459d495001b22aa55dda47ba5b03..a09da3981f65b88ce5315910b5bc928698cd2bed 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Clean\sup\sa\svariable\sin\stkt2409.test\sthat\swould\scause\ssubsequent\stests\sto\sfail.\s(CVS\s4065)
-D 2007-06-15T12:41:02
+C Do\snot\stry\sto\srun\sthe\sfuzz_malloc\stests\sif\sSQLITE_MEMDEBUG\sis\snot\senabled.\s(CVS\s4066)
+D 2007-06-15T13:57:20
 F Makefile.in b9971ab07868cf2b3209fe3bf8c52e7e25af4193
 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -254,7 +254,7 @@ F test/func.test 605989453d1b42cec1d05c17aa232dc98e3e04e6
 F test/fuzz.test 62fc19dd36a427777fd671b569df07166548628a
 F test/fuzz2.test ea38692ce2da99ad79fe0be5eb1a452c1c4d37bb
 F test/fuzz_common.tcl ff4bc2dfc465f6878f8e2d819620914365382731
-F test/fuzz_malloc.test 9f48048eeac5f8984a513aa289bd3e89b70a6bd7
+F test/fuzz_malloc.test 8b3073c5221fc0fad78559a101cba50f7aa633c2
 F test/hook.test 7e7645fd9a033f79cce8fdff151e32715e7ec50a
 F test/icu.test e6bfae7f625c88fd14df6f540fe835bdfc1e4329
 F test/in.test 369cb2aa1eab02296b4ec470732fe8c131260b1d
@@ -505,7 +505,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P 5232fd29d01d48d70b6d8f34ad5d0e2dde115fa0
-R a3d5ce83e9edb1dedbb1acd1fe40ca79
+P 0f944cb9fbe30c2a7ec36b7dc7e21fb39a60e810
+R 513948dc0704883d2813a8aa6ecdf882
 U drh
-Z 05cb8863d0f46803d083c4040bcddcea
+Z 73dfb0f1e49edb37791017acd88acfae
index e95083308dc95eaf61adfcd9582fd03babc71eff..e302729c7de77d1d3b673686ca6ec03ec72c516f 100644 (file)
@@ -1 +1 @@
-0f944cb9fbe30c2a7ec36b7dc7e21fb39a60e810
\ No newline at end of file
+452115959f1bd22bfe64ed10724d6d08d4cbe3f5
\ No newline at end of file
index a4ff7904b6c883e150bf2e2c171d925382bdaf8c..86663ff33cc3a3c3c9f25210af6dbab8bf2e7792 100644 (file)
 #
 # This file tests malloc failures in concert with fuzzy SQL generation.
 #
-# $Id: fuzz_malloc.test,v 1.2 2007/05/31 08:20:44 danielk1977 Exp $
+# $Id: fuzz_malloc.test,v 1.3 2007/06/15 13:57:20 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
+
+# Only run these tests if memory debugging is turned on.
+#
+if {[info command sqlite_malloc_stat]==""} {
+  puts "Skipping fuzz_malloc tests: not compiled with -DSQLITE_MEMDEBUG=1"
+  finish_test
+  return
+}
+
+
 source $testdir/fuzz_common.tcl
 source $testdir/malloc_common.tcl
 
@@ -78,4 +88,3 @@ do_fuzzy_malloc_test fuzzy_malloc-3 \
 
 sqlite_malloc_fail 0
 finish_test
-