Overview
| Artifact ID: | d2a4bee0f0384d489aa808c34cf28fb11def4496b62bdcf9b59e8da3709c4b11 |
|---|---|
| Ticket: | 9f4feaaaa11646ec51d345a2697de898850c16f9
tcltest test contraints with a dash (-) in the name doesn't work |
| User & Date: | serhiy.storchaka on 2026-10-20 14:02:40 |
Changes
- foundin changed to: "8.6.18, 9.0.5, 9.1.0"
- icomment:
The stray output and the missing skip table were fixed by [98f03d1dc3] ([0aaeb9c380]), but on main, 9.0 and 8.6 such names are still parsed as <code>bug - 0306a5563</code>, so <code>-constraints bug-0306a5563</code> on the command line has no effect. Proposed fix in branch [98752639ed|tcltest-dash-constraints] (stacked on [e055230591|tcltest-nested-match], for [773924ffff]): a "-" between name characters is part of the name, so <code>bug-1</code>, <code>a-b || c</code> and <code>!a-b</code> work; a "-" next to an operator or a space is still an operator. Documented in tcltest.n, new test tcltest-28.2. No test in the Tcl test suite used "-" as a subtraction in constraints. As suggested, this needs a tcltest version bump, which I'd do once for the series of tcltest fixes.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"