Skip to content
Tcl Source Code Artifact [eb9426de01]
Login

Artifact [eb9426de01]

Artifact eb9426de01c865ec09f31c831c1ebf8fb1e08589e3a721b99f4d1248d11d1384:

Ticket change [eb9426de01] - New ticket [f0fd63394b840ee2|f0fd63394b] <i>registry.test skips all tests on main: there is no package tcl::registry</i>. by serhiy.storchaka on 2026-10-20 21:02:08.
D 2026-10-20T21:02:08.121
J cmimetype text/x-fossil-wiki
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.\n\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"):\n<ul>\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>\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>\n</ul>\n\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 foundin 9.1.0
J login serhiy.storchaka
J priority 5\sMedium
J severity Important
J status Open
J submitter serhiy.storchaka
J subsystem 32.\sregistry\sPackage
J title registry.test\sskips\sall\stests\son\smain:\sthere\sis\sno\spackage\stcl::registry
J type Bug
K f0fd63394b840ee22d46c69b631eb39b4497fe42
U serhiy.storchaka
Z d006cb7319c0c63aff14811c2763e712