Skip to content
Tcl Source Code Artifact [85eed04430]
Login

Artifact [85eed04430]

Artifact 85eed044307092ef73a4bcd62e1fe9aa20e410949b5127f9e45ee432d8e26c96:

Ticket change [85eed04430] - Ticket [f0fd63394b840ee2|f0fd63394b] <i>registry.test skips all tests on main: there is no package tcl::registry</i> status still Open with 6 other changes by apnadkarni on 2026-10-23 02:27:43.
D 2026-10-23T02:27:43.082
J assignee jan.nijtmans
J closer nobody
J comment Since\s[f67a1b0563]\s("Use\smore\stcl::registry,\swhen\spossible",\s2026-06-11)\stests/registry.test\ssets\sits\s<code>reg</code>\sconstraint\swith\s<code>package\srequire\stcl::registry</code>.\sNo\ssuch\spackage\sexists\son\smain:\s<code>Registry_Init</code>\sonly\screates\sthe\s<code>::tcl::registry</code>\scommand,\sand\slibrary/registry/pkgIndex.tcl\sprovides\s<code>registry\s1.4</code>.\sSo\sthe\sconstraint\sis\salways\sfalse\sand\sall\s126\stests\sare\sskipped\son\severy\sWindows\sbuild,\sin\sCI\stoo.\sChecked\swith\sMSVC\s2022\stclsh91/tcltest91\sof\smain\son\sWindows\s11.\score-9-0-branch\sis\snot\saffected.\r\n\r\nWith\sthe\sconstraint\sforced\s(<code>-load\s{package\sprovide\stcl::registry\s&#91;info\spatchlevel&#93;}</code>),\stcltest91\sruns\s120\stests\sand\stwo\sof\sthem\sfail,\sboth\sfrom\sthe\ssame\schange\s(a\sglobal\sreplace\sof\s"registry"\swith\s"tcl::registry"):\r\n<ul>\r\n<li>registry-1.7\sruns\s<code>registcl::registrytry\sget</code>\s("invalid\scommand\sname")\sinstead\sof\s<code>tcl::registry\sget</code>.</li>\r\n<li>registry-2.7\sexpects\s"The\sconfiguration\stcl::registry\skey\sis\sinvalid.",\sbut\sthe\sWindows\smessage\sis\s"The\sconfiguration\sregistry\skey\sis\sinvalid."</li>\r\n</ul>\r\n\r\nPossible\sfixes:\seither\slet\s<code>Registry_Init</code>\sprovide\sa\s<code>tcl::registry</code>\spackage\s(with\sTCL_PATCH_LEVEL,\sas\sregistry-1.0\sexpects,\slike\s<code>tcl::oo</code>),\sor\sset\sthe\sconstraint\sfrom\s<code>&#91;info\scommands\s::tcl::registry&#93;</code>\sand\sadjust\sregistry-1.0;\splus\scorrect\sregistry-1.7\sand\s2.7.
J icomment In\smy\sopinion,\sregistry\sshould\shave\scontinued\sto\suse\sthe\s`registry`\scommand\salong\swith\s`package\srequire\sregistry`.\sAmongst\sother\sthings,\sthat\sensures\sthe\s`package\srequire`\scontinues\sto\swork\sas\sin\s9.0.\sNot\ssure\swhy\sit\swas\schanged\sto\suse\s`tcl::registry`\severywhere.\sA\ssingle\sadditional\stest\sto\sensure\s`tcl::registry`\swas\sa\sdefined\scommand\swould\ssuffice.\r\n\r\nBut\sthat's\sonly\san\sopinion.\sLeaving\sit\sto\sJan\sto\sdecide\sas\sper\shis\srationale\sfor\smaking\sthe\schange.
J login apnadkarni
J mimetype text/x-markdown
K f0fd63394b840ee22d46c69b631eb39b4497fe42
U apnadkarni
Z 3b1d67aa14550182607e1347362e1457