Tcl Source Code

View Ticket
Login
Ticket UUID: 811659
Title: Skipped command should report skip in all cases
Type: Bug Created on: 2003-09-24 09:53:20
Submitter: davidw Assigned to: dgp
Subsystem: 34. tcltest Package Severity: Minor
Priority: 5 Medium Last modified: 2026-10-28 13:42:52
Status: Closed Closed by: jan.nijtmans
Resolution: Fixed Closed on: 2026-10-28 13:42:52
Version: 8.6.18, 9.0.5, 9.1.0
Description:
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.
User Comments:
serhiy.storchaka added on 2026-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 [1c58514c1d|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.nijtmans added on 2026-10-28 13:42:52:

Now also backported to core-9-0-branch and core-8-6-branch

Closing. Many thanks!