Omit thread2.test if memory-management is enabled at compile time. (CVS 2975)

FossilOrigin-Name: df91f685cacbcb3e048eaa03260b33bbcfcb321c
This commit is contained in:
danielk1977
2006-01-18 18:33:42 +00:00
parent 76e8d1a292
commit e7823cb591
3 changed files with 17 additions and 8 deletions
+10 -1
View File
@@ -11,12 +11,21 @@
# This file implements regression tests for SQLite library. The
# focus of this script is multithreading behavior
#
# $Id: thread2.test,v 1.1 2006/01/15 02:30:58 drh Exp $
# $Id: thread2.test,v 1.2 2006/01/18 18:33:42 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
# This file swaps database connections between threads. This
# is illegal if memory-management is enabled, so skip this file
# in that case.
ifcapable memorymanage {
finish_test
return
}
# Skip this whole file if the thread testing code is not enabled
#
if {[llength [info command thread_step]]==0 || [sqlite3 -has-codec]} {