]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Further refinement to the Tcl extension testing procedure.
authordrh <>
Tue, 7 Jan 2025 18:50:19 +0000 (18:50 +0000)
committerdrh <>
Tue, 7 Jan 2025 18:50:19 +0000 (18:50 +0000)
FossilOrigin-Name: 32b8b078d16b8931afa56e587cf840412c65b68da0bc6fd6280ac773295116cf

doc/tcl-extension-testing.md
manifest
manifest.uuid

index e2edf2ef1cb6d3b39fc3cc5ad0ad4459f784f992..c82d336a259405b9e24998eab4f42c470fdc4b98 100644 (file)
@@ -14,6 +14,18 @@ aspect of the SQLite TCL extension, and in particular to verify
 that the "make tclextension-install" build target works and that
 an ordinary tclsh can subsequently run "package require sqlite3".
 
+This procedure can also be used as a template for how to set up
+a local TCL+SQLite development environment.  In other words, it
+can be be used as a guide on how to compile per-user copies of 
+Tcl that are used to develop, test, and debug SQLite.  In that
+case, perhaps make minor changes to the procedure such as:
+
+  *  Make TCLBUILD directory is permanent.
+  *  Enable debugging symbols on the Tcl library build.
+  *  Reduce the optimization level to -O0 for easier debugging.
+  *  Also compile "wish" to go with each "tclsh".
+
+
 ## 2.0 Testing On Unix-like Systems (Including Mac)
 
 ###  2.1 Setup
@@ -71,6 +83,9 @@ an ordinary tclsh can subsequently run "package require sqlite3".
       &uarr; The --disable-shared is to avoid the need to set LD_LIBRARY_PATH
       when using this Tcl build.
 <li>  `make install`
+<li>  `cp -r ../library $TCLBUILD/tcl90/lib/tcl9.0` <br>
+      &uarr; The Tcl library is not installed in the expected place by
+      "make install" in Tcl9.0.  This step is not required when building Tcl8.6.
 <li> `cd $SQLITESOURCE`
 <li> `fossil clean -x`
 <li> `./configure --with-tclsh=$TCLBUILD/tcl90/bin/tclsh9.0 --all`
@@ -87,7 +102,7 @@ an ordinary tclsh can subsequently run "package require sqlite3".
 ### 2.4 Cleanup
 
 <ol type="1">
-<li value="28"> `rm -rf $TCLBUILD`
+<li value="29"> `rm -rf $TCLBUILD`
 </ol>
 
 ## 3.0 Testing On Windows
index bceb3b8591965568137fcbce3b7dc33081b00a2c..ea9d0e4fd488986004cc9f7c485597539fb63c5a 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Improvements\sto\s[14b38ae6ab86a314]\sso\sthat\sthe\sTcl\sinterface\sis\sbetter\sable\nto\swork\swith\sboolean\svalues\sin\sboth\sTcl86\sand\sTcl90.
-D 2025-01-07T16:36:47.331
+C Further\srefinement\sto\sthe\sTcl\sextension\stesting\sprocedure.
+D 2025-01-07T18:50:19.567
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
 F LICENSE.md e108e1e69ae8e8a59e93c455654b8ac9356a11720d3345df2a4743e9590fb20d
@@ -61,7 +61,7 @@ F doc/json-enhancements.md e356fc834781f1f1aa22ee300027a270b2c960122468499bf347b
 F doc/jsonb.md 5fab4b8613aa9153fbeb6259297bd4697988af8b3d23900deba588fa7841456b
 F doc/lemon.html 8b266ff711d2ec7f867c3dca37634963f48a630329908cc282beebfa8c708706
 F doc/pager-invariants.txt 27fed9a70ddad2088750c4a2b493b63853da2710
-F doc/tcl-extension-testing.md b6e9180a86aa65b53b5ced9c88b22e369e31fb779011c94435b6368d9e18d43d
+F doc/tcl-extension-testing.md 4c0f45c9d9923b120573a006f71f1558a18aecc71bd66e5b1a182c49a2ee8c65
 F doc/testrunner.md 15583cf8c7d8a1c3378fd5d4319ca769a14c4d950a5df9b015d01d5be290dc69
 F doc/trusted-schema.md 33625008620e879c7bcfbbfa079587612c434fa094d338b08242288d358c3e8a
 F doc/vdbesort-memory.md 4da2639c14cd24a31e0af694b1a8dd37eaf277aff3867e9a8cc14046bc49df56
@@ -2205,8 +2205,8 @@ F tool/version-info.c 3b36468a90faf1bbd59c65fd0eb66522d9f941eedd364fabccd7227350
 F tool/warnings-clang.sh bbf6a1e685e534c92ec2bfba5b1745f34fb6f0bc2a362850723a9ee87c1b31a7
 F tool/warnings.sh 49a486c5069de041aedcbde4de178293e0463ae9918ecad7539eedf0ec77a139
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 8a56e98d257e280d308b9fdc26e17e202f00a70fb9a780e30924e87a189fc7f4
-R 9f37d9e0a5a710d92c078118174ed306
+P 4e85343d6107a46682b549667410c296d7f4d17e3ac04ded7357afcbbfbe3e6d
+R 28cb3fd95e62d91bdc02718299c22dad
 U drh
-Z 1267df4caaf383b5de45df3c7a06eba4
+Z 6cf3497825f1341be717f1a079f18695
 # Remove this line to create a well-formed Fossil manifest.
index f17f9bb53b43d42a868c51e6851740672b0301cf..cf808db21477edebbfee673de09990b0df7d62f0 100644 (file)
@@ -1 +1 @@
-4e85343d6107a46682b549667410c296d7f4d17e3ac04ded7357afcbbfbe3e6d
+32b8b078d16b8931afa56e587cf840412c65b68da0bc6fd6280ac773295116cf