Skipped command should report skip in all cases
Closed / Fixed811659ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 36 days ago
Descriptionplain2003-09-24 09:53:20
The tcltest::Skipped command only reports that it has skipped a command in one case where that is true. It ought to do so in other cases as well, I think. I would like to try my hand at fixing the tcltest package's other flaws before this gets updated.
Referenced by3
e44f1d0e87Many tcltest improvements, [773924ffff], [811659ffff], [572400ffff], [8413e79232] and [1528500fff] check-in2026-10-22 11:44:24891b7e7921Many tcltest improvements, [773924ffff], [9f4feaaaa1], [811659ffff], [572400ffff], [8413e79232] and [1528500fff] check-in2026-10-22 08:25:311c58514c1dFix [811659ffff]: tests skipped by -limitconstraints are reported with -verbose s. check-in2026-10-20 14:04:44
dgp Ticket [811659ffff]: 1 change
[History diff]2003-11-13 07:58:43
serhiy.storchakawiki2026-10-20 14:07:10
Still the case on main, 9.0 and 8.6. Skips by -skip and -match are silent by design (tests tcltest-3.* and 4.* check that, and reporting them would flood the output with -match), but tests skipped by -limitconstraints were not reported with -verbose s either, unlike those skipped by an unmet constraint.
Proposed fix in branch [tcltest-limitconstraints-verbose] (stacked on the other tcltest fixes): that branch of tcltest::Skipped uses _noticeSkipped too, so it prints SKIPPED: userSpecifiedLimitConstraint. New test tcltest-5.2a.
jan.nijtmanswiki2026-10-28 13:42:52
Now also backported to core-9-0-branch and core-8-6-branch
Closing. Many thanks!
Log in (anonymous is fine) to add a comment.