1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fixes to test code so that the test suite passes without SQLITE_MEMDEBUG defined. (CVS 4370)

FossilOrigin-Name: ed2a2e0102c4fd2221096028d55a6f1d54f97274
This commit is contained in:
danielk1977
2007-09-03 07:31:09 +00:00
parent e9bb50ae50
commit 369ff42e77
7 changed files with 42 additions and 37 deletions

View File

@ -2,7 +2,7 @@
ifcapable !memdebug {
puts "Skipping malloc tests: not compiled with -DSQLITE_MEMDEBUG..."
finish_test
return
return 0
}
# Usage: do_malloc_test <test number> <options...>
@ -131,3 +131,5 @@ proc do_malloc_test {tn args} {
unset ::mallocopts
sqlite3_memdebug_fail -1
}
return 1