1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Do not try to run the fuzz_malloc tests if SQLITE_MEMDEBUG is not enabled. (CVS 4066)

FossilOrigin-Name: 452115959f1bd22bfe64ed10724d6d08d4cbe3f5
This commit is contained in:
drh
2007-06-15 13:57:19 +00:00
parent 1a3a188ac7
commit 9142a83dd4
3 changed files with 18 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
C Clean\sup\sa\svariable\sin\stkt2409.test\sthat\swould\scause\ssubsequent\stests\sto\sfail.\s(CVS\s4065) C Do\snot\stry\sto\srun\sthe\sfuzz_malloc\stests\sif\sSQLITE_MEMDEBUG\sis\snot\senabled.\s(CVS\s4066)
D 2007-06-15T12:41:02 D 2007-06-15T13:57:20
F Makefile.in b9971ab07868cf2b3209fe3bf8c52e7e25af4193 F Makefile.in b9971ab07868cf2b3209fe3bf8c52e7e25af4193
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -254,7 +254,7 @@ F test/func.test 605989453d1b42cec1d05c17aa232dc98e3e04e6
F test/fuzz.test 62fc19dd36a427777fd671b569df07166548628a F test/fuzz.test 62fc19dd36a427777fd671b569df07166548628a
F test/fuzz2.test ea38692ce2da99ad79fe0be5eb1a452c1c4d37bb F test/fuzz2.test ea38692ce2da99ad79fe0be5eb1a452c1c4d37bb
F test/fuzz_common.tcl ff4bc2dfc465f6878f8e2d819620914365382731 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/hook.test 7e7645fd9a033f79cce8fdff151e32715e7ec50a
F test/icu.test e6bfae7f625c88fd14df6f540fe835bdfc1e4329 F test/icu.test e6bfae7f625c88fd14df6f540fe835bdfc1e4329
F test/in.test 369cb2aa1eab02296b4ec470732fe8c131260b1d F test/in.test 369cb2aa1eab02296b4ec470732fe8c131260b1d
@@ -505,7 +505,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P 5232fd29d01d48d70b6d8f34ad5d0e2dde115fa0 P 0f944cb9fbe30c2a7ec36b7dc7e21fb39a60e810
R a3d5ce83e9edb1dedbb1acd1fe40ca79 R 513948dc0704883d2813a8aa6ecdf882
U drh U drh
Z 05cb8863d0f46803d083c4040bcddcea Z 73dfb0f1e49edb37791017acd88acfae

View File

@@ -1 +1 @@
0f944cb9fbe30c2a7ec36b7dc7e21fb39a60e810 452115959f1bd22bfe64ed10724d6d08d4cbe3f5

View File

@@ -12,10 +12,20 @@
# #
# This file tests malloc failures in concert with fuzzy SQL generation. # 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] set testdir [file dirname $argv0]
source $testdir/tester.tcl 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/fuzz_common.tcl
source $testdir/malloc_common.tcl source $testdir/malloc_common.tcl
@@ -78,4 +88,3 @@ do_fuzzy_malloc_test fuzzy_malloc-3 \
sqlite_malloc_fail 0 sqlite_malloc_fail 0
finish_test finish_test