Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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
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.