diff options
author | danielk1977 <danielk1977@noemail.net> | 2007-08-25 12:29:30 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2007-08-25 12:29:30 +0000 |
commit | 0e87b7010022d5a1512c52f6f53f72d00dbaaebe (patch) | |
tree | c82aee92d4bbe3e7b45eb5817ade5566df70ef90 /test/async2.test | |
parent | dc3060fea3d533358fb9f0b276a8f9cc324384e1 (diff) | |
download | sqlite-0e87b7010022d5a1512c52f6f53f72d00dbaaebe.tar.gz sqlite-0e87b7010022d5a1512c52f6f53f72d00dbaaebe.zip |
Make the test_async backend work again. (CVS 4293)
FossilOrigin-Name: 04167483aad42d319393e8caf470d8de11e468d8
Diffstat (limited to 'test/async2.test')
-rw-r--r-- | test/async2.test | 15 |
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 { |