Do not run the async tests if the async module is not installed. (CVS 5722)

FossilOrigin-Name: 4de71a4e2f59d302156e10efcb288efa23e18598
This commit is contained in:
drh
2008-09-18 18:18:29 +00:00
parent e08a3c4f91
commit 695ba06f23
3 changed files with 11 additions and 10 deletions
+3 -2
View File
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is exercising the code in main.c.
#
# $Id: main.test,v 1.29 2008/07/12 14:52:20 drh Exp $
# $Id: main.test,v 1.30 2008/09/18 18:18:29 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -443,7 +443,8 @@ do_test main-3.6 {
# The following test-case tests the linked list code used to manage
# sqlite3_vfs structures.
if {$::tcl_platform(platform)=="unix"} {
if {$::tcl_platform(platform)=="unix"
&& [info command sqlite3async_enable]!=""} {
ifcapable threadsafe {
do_test main-4.1 {
sqlite3_crash_enable 1