/ Check-in [cb128067]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add the threadtest target to Makefile.in. Add --enable-load-extension to the configure issued by releasetest.tcl.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | releasetest-refactor
Files: files | file ages | folders
SHA1: cb128067faabf0503dff1298ed29934f484f71bb
User & Date: drh 2014-12-23 20:31:43
Context
2014-12-23
20:41
In the releasetest.tcl script, show the test target for each configuration that is run. And show the time in HH:MM:SS. check-in: 2295e9e0 user: drh tags: releasetest-refactor
20:31
Add the threadtest target to Makefile.in. Add --enable-load-extension to the configure issued by releasetest.tcl. check-in: cb128067 user: drh tags: releasetest-refactor
20:22
Draft of changes necessary to make releasetest work on Windows via MinGW. check-in: af166c5c user: mistachkin tags: releasetest-refactor
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

   971    971   
   972    972   # This target will fail if the SQLite amalgamation contains any exported
   973    973   # symbols that do not begin with "sqlite3_". It is run as part of the
   974    974   # releasetest.tcl script.
   975    975   #
   976    976   checksymbols: sqlite3.o
   977    977   	nm -g --defined-only sqlite3.o | grep -v " sqlite3_" ; test $$? -ne 0
          978  +
          979  +# The next two rules are used to support the "threadtest" target. Building
          980  +# threadtest runs a few thread-safety tests that are implemented in C. This
          981  +# target is invoked by the releasetest.tcl script.
          982  +# 
          983  +THREADTEST3_SRC = $(TOP)/test/threadtest3.c    \
          984  +                  $(TOP)/test/tt3_checkpoint.c \
          985  +                  $(TOP)/test/tt3_index.c      \
          986  +                  $(TOP)/test/tt3_vacuum.c      \
          987  +                  $(TOP)/test/tt3_stress.c      \
          988  +                  $(TOP)/test/tt3_lookaside1.c
          989  +
          990  +threadtest3$(TEXE): sqlite3.o $(THREADTEST3_SRC)
          991  +	$(LTLINK) $(TOP)/test/threadtest3.c sqlite3.o -o $@ $(TLIBS)
          992  +
          993  +threadtest: threadtest3$(TEXE)
          994  +	./threadtest3$(TEXE)
   978    995   
   979    996   # Standard install and cleanup targets
   980    997   #
   981    998   lib_install:	libsqlite3.la
   982    999   	$(INSTALL) -d $(DESTDIR)$(libdir)
   983   1000   	$(LTINSTALL) libsqlite3.la $(DESTDIR)$(libdir)
   984   1001   	

Changes to test/releasetest.tcl.

   265    265   # the current platform, which may be Windows (via MinGW, etc).
   266    266   #
   267    267   proc configureCommand {} {
   268    268     set result [list dryrun exec]
   269    269     if {$::tcl_platform(platform)=="windows"} {
   270    270       lappend result sh
   271    271     }
   272         -  lappend result $::SRCDIR/configure >& test.log
          272  +  lappend result $::SRCDIR/configure -enable-load-extension >& test.log
   273    273   }
   274    274   
   275    275   # The following procedure returns the "make" command to be executed for the
   276    276   # specified targets, compiler flags, and options.
   277    277   #
   278    278   proc makeCommand { targets cflags opts } {
   279    279     set result [list dryrun exec make clean]