Do not run the tests in notify3.test unless the unlock-notify API is available.

FossilOrigin-Name: 0d7fd6fe9deeddbec8dff1393beed126ae44c0ee
This commit is contained in:
dan 2010-07-02 18:58:01 +00:00
parent a0b75da197
commit 84b9618231
3 changed files with 15 additions and 18 deletions

View File

@ -1,8 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
C Take\sout\sthe\sincomplete\sinitializer\son\sthe\sconstant\s"dummy"\sin\nsqlite3VdbeGetOp().\s\sAdd\sa\scomment\sthat\sthe\sMSVC\swarning\sthere\sshould\nbe\signored.
D 2010-07-02T18:44:37
C Do\snot\srun\sthe\stests\sin\snotify3.test\sunless\sthe\sunlock-notify\sAPI\sis\savailable.
D 2010-07-02T18:58:02
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in a5cad1f8f3e021356bfcc6c77dc16f6f1952bbc3
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@ -534,7 +531,7 @@ F test/mutex2.test bfeaeac2e73095b2ac32285d2756e3a65e681660
F test/nan.test f3a0bcc6ca1acaa370efc5a7571e89507fb5927d
F test/notify1.test 8433bc74bd952fb8a6e3f8d7a4c2b28dfd69e310
F test/notify2.test 195a467e021f74197be2c4fb02d6dee644b8d8db
F test/notify3.test b923ff67728f363378698fb27b5f41a5a1b4d9e0
F test/notify3.test feb03d697f4a5327c1beb158c3e7e51c5e400703
F test/notnull.test cc7c78340328e6112a13c3e311a9ab3127114347
F test/null.test a8b09b8ed87852742343b33441a9240022108993
F test/openv2.test af02ed0a9cbc0d2a61b8f35171d4d117e588e4ec
@ -833,14 +830,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
P 26bc27e3f4c8a666f3358f73fc21eccdec3508f6
R 39cd87522d4297ecca3b1e4ddddaeddd
U drh
Z c6e5f114cd6e8dfd396b7e796b35af20
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFMLjOYoxKgR168RlERAgYoAJ9587SBvTUlAm/u8/8JhujITmHj/QCeLV0e
Qq6zbAicDsnHPAymP3sFmLI=
=re33
-----END PGP SIGNATURE-----
P 452ccaa9080e42657b5f0908bf40dbd834cd39f6
R 40887fc29c24ad9456da9ff6516cbd8d
U dan
Z eb8e152669f337310aab0bb2546fe4ea

View File

@ -1 +1 @@
452ccaa9080e42657b5f0908bf40dbd834cd39f6
0d7fd6fe9deeddbec8dff1393beed126ae44c0ee

View File

@ -15,6 +15,13 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
# This script only runs if shared-cache and unlock-notify are available.
#
ifcapable !unlock_notify||!shared_cache {
finish_test
return
}
set esc [sqlite3_enable_shared_cache 1]
sqlite3 db test.db