Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 110cc03791718699b40e09b4c443f9aec4bb60194f9ccc78e3ba04856cee11eb
Ticket: 572400ffffffffffffffffffffffffffffffffff
constraint exprs defeat limitConstraints
User & Date: serhiy.storchaka on 2026-10-20 14:26:05
Changes

  1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
  2. icomment:
    Still the case on main, 9.0 and 8.6: -limitconstraints forces the unselected constraints to 0, so expressions like <code>!foo</code> or <code>$::tcl_version > 0</code> become true. With <code>-constraints knownBug -limitconstraints 1</code> the whole test suite runs 76 tests.
    
    Proposed fix in branch [241d536f30|tcltest-limitconstraints-expr] (stacked on the other tcltest fixes): in that mode an expression constraint must also name one of the selected constraints. The knownBug run then has 29 tests. New test tcltest-5.2b.
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"