aboutsummaryrefslogtreecommitdiff
path: root/test/async2.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/async2.test')
-rw-r--r--test/async2.test15
1 files changed, 10 insertions, 5 deletions
diff --git a/test/async2.test b/test/async2.test
index 83d3c7f79..07446223c 100644
--- a/test/async2.test
+++ b/test/async2.test
@@ -5,17 +5,22 @@
#
#***********************************************************************
#
-# $Id: async2.test,v 1.3 2006/02/14 14:02:08 danielk1977 Exp $
+# $Id: async2.test,v 1.4 2007/08/25 12:29:30 danielk1977 Exp $
-if {[info commands sqlite3async_enable]==""} {
+set testdir [file dirname $argv0]
+source $testdir/tester.tcl
+
+if {
+ [info commands sqlite3async_enable]=="" ||
+ [info command sqlite_malloc_stat]==""
+} {
# The async logic is not built into this system
+ puts "Skipping async2 tests: not compiled with required features"
+ finish_test
return
}
-set testdir [file dirname $argv0]
-source $testdir/tester.tcl
-
# Enable asynchronous IO.
set setup_script {