1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Disable tests that debug on SQLITE_MEMDEBUG when that macro is not defined. (CVS 4306)

FossilOrigin-Name: 741d6fb096dcb232871d3a8468c386022afcf554
This commit is contained in:
drh
2007-08-27 23:48:23 +00:00
parent 4bfc8a97f9
commit da57895fec
5 changed files with 19 additions and 14 deletions

View File

@ -12,14 +12,14 @@
# focus of this script is testing the ALTER TABLE statement and
# specifically out-of-memory conditions within that command.
#
# $Id: altermalloc.test,v 1.4 2007/08/25 13:09:26 danielk1977 Exp $
# $Id: altermalloc.test,v 1.5 2007/08/27 23:48:24 drh Exp $
#
set testdir [file dirname $argv0]
source $testdir/tester.tcl
# If SQLITE_OMIT_ALTERTABLE is defined, omit this file.
ifcapable !altertable {
ifcapable !altertable||!memdebug {
finish_test
return
}

View File

@ -12,12 +12,17 @@
# focus of this script is testing the ATTACH statement and
# specifically out-of-memory conditions within that command.
#
# $Id: attachmalloc.test,v 1.4 2007/08/25 13:37:49 danielk1977 Exp $
# $Id: attachmalloc.test,v 1.5 2007/08/27 23:48:24 drh Exp $
#
set testdir [file dirname $argv0]
source $testdir/tester.tcl
ifcapable !memdebug {
finish_test
return
}
source $testdir/malloc_common.tcl
do_malloc_test attachmalloc-1 -tclprep {

View File

@ -9,13 +9,13 @@
#
#***********************************************************************
#
# $Id: incrblob_err.test,v 1.4 2007/08/25 13:09:26 danielk1977 Exp $
# $Id: incrblob_err.test,v 1.5 2007/08/27 23:48:24 drh Exp $
#
set testdir [file dirname $argv0]
source $testdir/tester.tcl
ifcapable {!incrblob} {
ifcapable {!incrblob || !memdebug} {
finish_test
return
}