Skip to content
Tcl Source Code Artifact [672df0df4b]
Login

Artifact [672df0df4b]

Artifact 672df0df4bedeb23e2d902ef37bd8fa87f125d3b226c23050260286e5d9bb0e1:

Ticket change [672df0df4b] - Ticket [8413e79232449d82|8413e79232] <i>tcltest should not exit an application</i> status still Open with 4 other changes by serhiy.storchaka on 2026-10-20 19:51:17.
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>&#91;file\snormalize\s&#91;info\sscript&#93;&#93;\seq\s&#91;file\snormalize\s$::argv0&#93;</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