<i>tcltest should not exit an application</i> status still Open with 4 other changes
by
.
D 2026-10-20T19:51:17.554
J foundin 8.6.18,\s9.0.5,\s9.1.0
J icomment Still\sthe\scase\son\smain,\s9.0\sand\s8.6.\sThe\s<code>exit</code>\sis\sthere\sso\sthat\s<code>wish\sfoo.test</code>\sdoes\snot\sstay\sin\sthe\sevent\sloop\safter\sthe\stests,\sso\ssimply\sremoving\sit\swould\schange\show\sTk\stest\sfiles\srun.\n\nProposed\sfix\sin\sbranch\s[2052c30735|tcltest-no-exit-when-sourced]:\s<code>cleanupTests</code>\sexits\sonly\swhen,\sin\saddition,\sthe\stest\sfile\sis\sthe\smain\sscript\sof\sthe\sapplication\s(<code>[file\snormalize\s[info\sscript]]\seq\s[file\snormalize\s$::argv0]</code>).\sAn\sapplication\sthat\ssources\sa\stest\sfile\skeeps\srunning.\s<code>wish\sfoo.test</code>\sand\sTk's\s<code>all.tcl</code>\sexit\sas\sbefore.\sThe\sbehaviour\sis\snow\sdocumented\sin\stcltest.n;\snew\stest\stcltest-29.1.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 8413e79232449d82d512edfee22ded5701f683b5
U serhiy.storchaka
Z ee52536a47d10a0e0b743c8717ff44ee