Overview
| Artifact ID: | 0e9159b0a05ab889522c7767bdc7f6b44ce22c54cf1eb88ef503ad5b1bdd69fb |
|---|---|
| Ticket: | 572400ffffffffffffffffffffffffffffffffff
constraint exprs defeat limitConstraints |
| User & Date: | dgp on 2026-10-20 18:20:29 |
Changes
- closer changed to: "nobody"
- comment changed to:
The [test] command honors constraint "expressions" so that, for example, one could constrain a test with "!unix" to run only on platforms that are not unix. (Don't do that! Use notUnix instead). However, the [limitConstraints] feature is implemented so that it only works if all constraints are simple lists of constraint keywords. (It may be even worse -- it could be that only simple constraints can be managed by the [limitConstraints] feature). For example, testing Tcl with the options -constraints knownBug -limitConstraints 1 to try to test only known bugs, the test tcltest-5.5 is still run because its constraint is !singleProc - icomment:
Thanks for the work on this. I'm putting it on my list of fixes to examine. Just a comment that for me a desired long-range fix for these issues would be to eliminate support for constraint expressions. They've always been short of working well, reliably and robustly, and the gain from trying to offer it is just not compelling. At least the ideal tcltest, version 3 in my head does not have it.
- login: "dgp"
- mimetype: "text/plain"
- severity changed to: "Minor"