Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: eb9426de01c865ec09f31c831c1ebf8fb1e08589e3a721b99f4d1248d11d1384
Ticket: f0fd63394b840ee22d46c69b631eb39b4497fe42
registry.test skips all tests on main: there is no package tcl::registry
User & Date: serhiy.storchaka on 2026-10-20 21:02:08
Changes

  1. cmimetype changed to: "text/x-fossil-wiki"
  2. comment changed to:
    Since [f67a1b0563] ("Use more tcl::registry, when possible", 2026-06-11) tests/registry.test sets its <code>reg</code> constraint with <code>package require tcl::registry</code>. No such package exists on main: <code>Registry_Init</code> only creates the <code>::tcl::registry</code> command, and library/registry/pkgIndex.tcl provides <code>registry 1.4</code>. So the constraint is always false and all 126 tests are skipped on every Windows build, in CI too. Checked with MSVC 2022 tclsh91/tcltest91 of main on Windows 11. core-9-0-branch is not affected.
    
    With the constraint forced (<code>-load {package provide tcl::registry &#91;info patchlevel&#93;}</code>), tcltest91 runs 120 tests and two of them fail, both from the same change (a global replace of "registry" with "tcl::registry"):
    <ul>
    <li>registry-1.7 runs <code>registcl::registrytry get</code> ("invalid command name") instead of <code>tcl::registry get</code>.</li>
    <li>registry-2.7 expects "The configuration tcl::registry key is invalid.", but the Windows message is "The configuration registry key is invalid."</li>
    </ul>
    
    Possible fixes: either let <code>Registry_Init</code> provide a <code>tcl::registry</code> package (with TCL_PATCH_LEVEL, as registry-1.0 expects, like <code>tcl::oo</code>), or set the constraint from <code>&#91;info commands ::tcl::registry&#93;</code> and adjust registry-1.0; plus correct registry-1.7 and 2.7.
    
  3. foundin changed to: "9.1.0"
  4. login: "serhiy.storchaka"
  5. priority changed to: "5 Medium"
  6. severity changed to: "Important"
  7. status changed to: "Open"
  8. submitter changed to: "serhiy.storchaka"
  9. subsystem changed to: "32. registry Package"
  10. title changed to:
    registry.test skips all tests on main: there is no package tcl::registry
    
  11. type changed to: "Bug"