/ Check-in [741d6fb0]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Disable tests that debug on SQLITE_MEMDEBUG when that macro is not defined. (CVS 4306)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 741d6fb096dcb232871d3a8468c386022afcf554
User & Date: drh 2007-08-27 23:48:24
Context
2007-08-28
02:27
Work toward correct btree locking in a multithreaded environment. (CVS 4307) check-in: b8cc493b user: drh tags: trunk
2007-08-27
23:48
Disable tests that debug on SQLITE_MEMDEBUG when that macro is not defined. (CVS 4306) check-in: 741d6fb0 user: drh tags: trunk
23:38
Fix the autoconf makefile with all the latest changes. (CVS 4305) check-in: bc6d73d0 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/altermalloc.test.

     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #*************************************************************************
    11     11   # This file implements regression tests for SQLite library.  The
    12     12   # focus of this script is testing the ALTER TABLE statement and
    13     13   # specifically out-of-memory conditions within that command.
    14     14   #
    15         -# $Id: altermalloc.test,v 1.4 2007/08/25 13:09:26 danielk1977 Exp $
           15  +# $Id: altermalloc.test,v 1.5 2007/08/27 23:48:24 drh Exp $
    16     16   #
    17     17   
    18     18   set testdir [file dirname $argv0]
    19     19   source $testdir/tester.tcl
    20     20   
    21     21   # If SQLITE_OMIT_ALTERTABLE is defined, omit this file.
    22         -ifcapable !altertable {
           22  +ifcapable !altertable||!memdebug {
    23     23     finish_test
    24     24     return
    25     25   }
    26     26   
    27     27   source $testdir/malloc_common.tcl
    28     28   
    29     29   do_malloc_test altermalloc-1 -tclprep {

Changes to test/attachmalloc.test.

     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #*************************************************************************
    11     11   # This file implements regression tests for SQLite library.  The
    12     12   # focus of this script is testing the ATTACH statement and
    13     13   # specifically out-of-memory conditions within that command.
    14     14   #
    15         -# $Id: attachmalloc.test,v 1.4 2007/08/25 13:37:49 danielk1977 Exp $
           15  +# $Id: attachmalloc.test,v 1.5 2007/08/27 23:48:24 drh Exp $
    16     16   #
    17     17   
    18     18   set testdir [file dirname $argv0]
    19     19   source $testdir/tester.tcl
           20  +
           21  +ifcapable !memdebug {
           22  +  finish_test
           23  +  return
           24  +}
    20     25   
    21     26   source $testdir/malloc_common.tcl
    22     27   
    23     28   do_malloc_test attachmalloc-1 -tclprep {
    24     29     db close
    25     30     for {set i 2} {$i<=4} {incr i} {
    26     31       file delete -force test$i.db

Changes to test/incrblob_err.test.

     5      5   #
     6      6   #    May you do good and not evil.
     7      7   #    May you find forgiveness for yourself and forgive others.
     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #***********************************************************************
    11     11   #
    12         -# $Id: incrblob_err.test,v 1.4 2007/08/25 13:09:26 danielk1977 Exp $
           12  +# $Id: incrblob_err.test,v 1.5 2007/08/27 23:48:24 drh Exp $
    13     13   #
    14     14   
    15     15   set testdir [file dirname $argv0]
    16     16   source $testdir/tester.tcl
    17     17   
    18         -ifcapable {!incrblob} {
           18  +ifcapable {!incrblob  || !memdebug} {
    19     19     finish_test
    20     20     return
    21     21   }
    22     22   
    23     23   # Only run these tests if memory debugging is turned on.
    24     24   #
    25     25   if {[info command sqlite3_memdebug_fail]==""} {