]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Merge the new and improved releasetest.tcl script into trunk. Add a
authordrh <drh@noemail.net>
Tue, 23 Dec 2014 21:17:58 +0000 (21:17 +0000)
committerdrh <drh@noemail.net>
Tue, 23 Dec 2014 21:17:58 +0000 (21:17 +0000)
"make releasetest" target to the autoconf makefile.

FossilOrigin-Name: 1deb00ec758c6d213da71ef64294cc816e204338

1  2 
Makefile.in
manifest
manifest.uuid

diff --cc Makefile.in
index 4929ce313cbc4ff086adf845d0bc99167e14fe35,6a944fdded822904feb769f2bf7af67a8039993d..887f99e0ee5c8dcb410208abbeb41d1e05b8eb52
@@@ -969,6 -969,30 +969,33 @@@ wordcount$(TEXE):        $(TOP)/test/wordcount
  speedtest1$(TEXE):    $(TOP)/test/wordcount.c sqlite3.lo
        $(LTLINK) -o $@ $(TOP)/test/speedtest1.c sqlite3.lo $(TLIBS)
  
+ # This target will fail if the SQLite amalgamation contains any exported
+ # symbols that do not begin with "sqlite3_". It is run as part of the
+ # releasetest.tcl script.
+ #
+ checksymbols: sqlite3.lo
+       nm -g --defined-only sqlite3.lo | grep -v " sqlite3_" ; test $$? -ne 0
+ # The next two rules are used to support the "threadtest" target. Building
+ # threadtest runs a few thread-safety tests that are implemented in C. This
+ # target is invoked by the releasetest.tcl script.
+ # 
+ THREADTEST3_SRC = $(TOP)/test/threadtest3.c    \
+                   $(TOP)/test/tt3_checkpoint.c \
+                   $(TOP)/test/tt3_index.c      \
+                   $(TOP)/test/tt3_vacuum.c      \
+                   $(TOP)/test/tt3_stress.c      \
+                   $(TOP)/test/tt3_lookaside1.c
+ threadtest3$(TEXE): sqlite3.lo $(THREADTEST3_SRC)
+       $(LTLINK) $(TOP)/test/threadtest3.c sqlite3.lo -o $@ $(TLIBS)
+ threadtest: threadtest3$(TEXE)
+       ./threadtest3$(TEXE)
++releasetest:  
++      $(TCLSH_CMD) $(TOP)/test/releasetest.tcl
++
  # Standard install and cleanup targets
  #
  lib_install:  libsqlite3.la
diff --cc manifest
index 46ba432235774ffb315872e9ffa4008762583cec,89f8b08461b467f864c11a039692d8133abcc422..7175c91a50f227e6c146e4efe6076ef281269197
+++ b/manifest
@@@ -1,7 -1,7 +1,7 @@@
- C Permit\ssqlite3_shutdown()\sto\sbe\scalled\swith\sOMIT_WSD\senabled\sand\swithout\shaving\scalled\ssqlite3_initialize()\sfirst.
- D 2014-12-23T20:42:48.779
 -C Remove\s'threadtest'\sas\sa\starget\son\sWindows,\sdue\sto\slack\sof\spthreads.\s\sAlso,\schange\s'fulltest'\sto\s'fulltestonly'.
 -D 2014-12-23T21:10:38.485
++C Merge\sthe\snew\sand\simproved\sreleasetest.tcl\sscript\sinto\strunk.\s\sAdd\sa\n"make\sreleasetest"\starget\sto\sthe\sautoconf\smakefile.
++D 2014-12-23T21:17:58.595
  F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
- F Makefile.in 6c4f961fa91d0b4fa121946a19f9e5eac2f2f809
 -F Makefile.in 9aaaaf6b5b0e4b42aa909db5165dc042db9bfcd5
++F Makefile.in c20e37499a3d664a3732257ed042352eba777a4d
  F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
  F Makefile.msc b363b90fe1bfc3b87d190f2f728a126c00d9ce09
  F Makefile.vxworks 034289efa9d591b04b1a73598623119c306cbba0
@@@ -1234,7 -1233,7 +1233,8 @@@ F tool/vdbe_profile.tcl 67746953071a9f8
  F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
  F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
  F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
- P 1bb26695ff28a96d740752e327c2e0a0da1d067e
- R 69846a8eed33bdc4ac13d4f2cdf5a199
 -P f49566a79d05e630a86ea7b2acc04672d76d6337
 -R 333eb3cbf92231ab2930505109652a4c
--U mistachkin
- Z c9331cbf8b5ecd4eca34d95e3015ec1f
 -Z 00b07e8b2b9d92ea23f97a4876d4552f
++P 3f7dbdb5df38bd4b8cd49d22a23b8412b8d506e5 a010c404b5140104b68087dcbb0698b7a85eef65
++R c03b15cfdf1585f3588eb5fb232886aa
++T +closed a010c404b5140104b68087dcbb0698b7a85eef65
++U drh
++Z 23d8a858cc383cd4bc2fa2df9f7a8bc3
diff --cc manifest.uuid
index 5e20eb47ce857e6d5140fb6be54314a0cb64c895,89f5792bcc2aa977cc6aadfa7b318887cc4d939c..9aa2bbe3dc2fc8f3158f1a5926e5ded1e430059a
@@@ -1,1 -1,1 +1,1 @@@
- 3f7dbdb5df38bd4b8cd49d22a23b8412b8d506e5
 -a010c404b5140104b68087dcbb0698b7a85eef65
++1deb00ec758c6d213da71ef64294cc816e204338