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:
@ -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
|
||||
|
Reference in New Issue
Block a user