1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Fix the async.test test script so that it invokes (finish_test) even if the asynchronous backend is not included in the build (and no tests are run). (CVS 5700)

FossilOrigin-Name: 5c954b40ecb71203b1013c23cdac54ff83484b0a
This commit is contained in:
danielk1977
2008-09-15 14:47:21 +00:00
parent 78a906552d
commit 4ff6202642
3 changed files with 15 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
C Fix\sthe\sshared_err.test\sscript\sso\sthat\sit\sworks\sif\sthe\sdevice\ssupports\sSQLITE_IOCAP_SAFEAPPEND.\s(CVS\s5699) C Fix\sthe\sasync.test\stest\sscript\sso\sthat\sit\sinvokes\s(finish_test)\seven\sif\sthe\sasynchronous\sbackend\sis\snot\sincluded\sin\sthe\sbuild\s(and\sno\stests\sare\srun).\s(CVS\s5700)
D 2008-09-15T14:42:38 D 2008-09-15T14:47:21
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in d15a7ebfe5e057a72a49805ffb302dbb601c8329 F Makefile.in d15a7ebfe5e057a72a49805ffb302dbb601c8329
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -209,7 +209,7 @@ F test/alter2.test dd55146e812622c8fc51fd2216bcd8dca8880752
F test/alter3.test 25b95a136708f22b87184fa6a4309eea03d65153 F test/alter3.test 25b95a136708f22b87184fa6a4309eea03d65153
F test/altermalloc.test 11116c58953b6275a48a87c2912b7d4b72c52840 F test/altermalloc.test 11116c58953b6275a48a87c2912b7d4b72c52840
F test/analyze.test ad5329098fe4de4a96852231d53e3e9e6283ad4b F test/analyze.test ad5329098fe4de4a96852231d53e3e9e6283ad4b
F test/async.test aecaa46ed0618a3c338f3651ca4f10fbb4021044 F test/async.test 0ed384c12d556ce38a4fe21fd41cda7e6dbf55be
F test/async2.test 8998e089b0fbb3d84cdd51c25a78833486d721af F test/async2.test 8998e089b0fbb3d84cdd51c25a78833486d721af
F test/async3.test 9ffa0977a78cc6351862a1583be2b1eecd41736d F test/async3.test 9ffa0977a78cc6351862a1583be2b1eecd41736d
F test/attach.test 75a5d22f88e730967d68f2c9f95e786e3953d8e3 F test/attach.test 75a5d22f88e730967d68f2c9f95e786e3953d8e3
@@ -635,7 +635,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 1dbced29de5f59ba2ebf877edcadf171540374d1 F tool/speedtest8.c 1dbced29de5f59ba2ebf877edcadf171540374d1
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
P 1d4fcaafd058bf1b726378e9ec308ecd8130fe1b P 38e5ea070a38fe1656e0f5c3024f28ce67eae725
R 57269a074958fd6039f5b3b57984a6b8 R 4f6ae6e9e52ddaefcd8ded4941fd5732
U danielk1977 U danielk1977
Z d6eed9f5b63d13b9611ae30d3fa84e0d Z b072615d26c8fe7520e777696085a2bf

View File

@@ -1 +1 @@
38e5ea070a38fe1656e0f5c3024f28ce67eae725 5c954b40ecb71203b1013c23cdac54ff83484b0a

View File

@@ -6,16 +6,17 @@
#*********************************************************************** #***********************************************************************
# This file runs all tests. # This file runs all tests.
# #
# $Id: async.test,v 1.13 2007/11/05 17:01:08 danielk1977 Exp $ # $Id: async.test,v 1.14 2008/09/15 14:47:21 danielk1977 Exp $
if {[catch {sqlite3async_enable}]} {
# The async logic is not built into this system
return
}
set testdir [file dirname $argv0] set testdir [file dirname $argv0]
source $testdir/tester.tcl source $testdir/tester.tcl
if {[catch {sqlite3async_enable}]} {
# The async logic is not built into this system
finish_test
return
}
rename finish_test really_finish_test rename finish_test really_finish_test
proc finish_test {} { proc finish_test {} {
catch {db close} catch {db close}