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

Improvements to the SQLITE_MISUSE detection logic. Also added test cases

for this logic, including the new test file "misuse.test". (CVS 559)

FossilOrigin-Name: f42907ce457e012592f8c043dc6c915e87258b35
This commit is contained in:
drh
2002-05-10 13:14:07 +00:00
parent 247be43d60
commit c22bd47d55
16 changed files with 437 additions and 111 deletions

View File

@ -10,7 +10,7 @@
#***********************************************************************
# This file runs all tests.
#
# $Id: all.test,v 1.13 2002/03/06 22:01:36 drh Exp $
# $Id: all.test,v 1.14 2002/05/10 13:14:08 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -33,6 +33,7 @@ set EXCLUDE {
all.test
quick.test
malloc.test
misuse.test
btree2.test
}
@ -71,9 +72,10 @@ if {$LeakList!=""} {
puts " Ok"
}
# Run the malloc tests after memory leak detection. We do leak
# some if malloc fails.
# Run the malloc tests and the misuse test after memory leak detection.
# Both tests leak memory.
#
catch {source $testdir/misuse.test}
catch {source $testdir/malloc.test}
really_finish_test