Tcl Source Code

View Ticket
Login
2026-10-28
13:42 • Closed ticket [811659ffff]: Skipped command should report skip in all cases ... artifact: 1029ee074d user: jan.nijtmans
2026-10-22
11:44
Many tcltest improvements, [773924ffff], [811659ffff], [572400ffff], [8413e79232] and [1528500fff] check-in: e44f1d0e87 user: jan.nijtmans tags: core-9-0-branch
08:25
Many tcltest improvements, [773924ffff], [9f4feaaaa1], [811659ffff], [572400ffff], [8413e79232] and ... check-in: 891b7e7921 user: jan.nijtmans tags: trunk, main
2026-10-20
14:07 • Ticket [811659ffff] Skipped command should report skip in all cases status s... artifact: 93e90df24f user: serhiy.storchaka
14:04
Fix [811659ffff]: tests skipped by -limitconstraints are reported with -verbose s. closed check-in: 1c58514c1d user: serhiy.storchaka tags: tcltest-limitconstraints-verbose
2003-11-13
07:58 • Ticket [811659ffff] Skipped command should report skip in all cases status s... artifact: 86e85a761f user: dgp
2003-09-24
09:53 • New ticket [811659ffff]. artifact: b281ce85b9 user: davidw

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!