|
2026-10-28
| ||
| 13:41 | • Closed ticket [773924ffff]: nested tests and -match plus 5 other changes artifact: 9adac8b090 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:38 | • Pending ticket [773924ffff]: nested tests and -match plus 7 other changes artifact: b7108ca8b2 user: jan.nijtmans | |
| 08:25 | Many tcltest improvements, [773924ffff], [9f4feaaaa1], [811659ffff], [572400ffff], [8413e79232] and ... check-in: 891b7e7921 user: jan.nijtmans tags: trunk, main | |
|
2026-10-20
| ||
| 14:02 | • Ticket [9f4feaaaa1] tcltest test contraints with a dash (-) in the name doesn... artifact: d2a4bee0f0 user: serhiy.storchaka | |
| 13:58 | • Ticket [773924ffff] nested tests and -match status still Open with 4 other c... artifact: cc6d658157 user: serhiy.storchaka | |
| 13:58 | Fix [773924ffff]: -match and -skip select top-level tests only; tests nested in a selected test alwa... closed check-in: e055230591 user: serhiy.storchaka tags: tcltest-nested-match | |
|
2003-07-18
| ||
| 20:57 | • New ticket [773924ffff] nested tests and -match. artifact: 8c34b929e6 user: dgp | |
| Ticket UUID: | 773924 | ||
| Title: | nested tests and -match | ||
| Type: | Bug | Created on: | 2003-07-18 20:57:18 |
| Submitter: | dgp | Assigned to: | dgp |
| Subsystem: | 34. tcltest Package | Severity: | Minor |
| Priority: | 3 Low | Last modified: | 2026-10-28 13:41:47 |
| Status: | Closed | Closed by: | jan.nijtmans |
| Resolution: | Fixed | Closed on: | 2026-10-28 13:41:47 |
| Version: | 8.6.18, 9.0.5, 9.1.0 | ||
| Description: | ||||
nested tests cause confusing results with -match. For example running the test suite with "-match tcltest-21.4" will fail because the body of tcltest-21.4 includes the test tcltest-21.4.0, which will be skipped because it doesn't match the -match pattern, leading to different results than expected. Fix for tcltest.test is to jump through even more hoops, and for other test suites, nested tests should just about always be avoided. | ||||
| User Comments: | ||||
serhiy.storchaka added on 2026-10-20 13:58:50:
Still the case on main, 9.0 and 8.6: 14 tests in tcltest.test fail when selected alone with -match (tcltest-21.4/5/6/10/11/12, 24.9/10/13/15/17/18/20, 25.3), because their nested tests do not match. Proposed fix in branch [e055230591|tcltest-nested-match]: -match and -skip are applied only to top-level tests, so tests nested in a selected test always run. Documented in tcltest.n, new test tcltest-28.1. All 131 tcltest.test tests now pass when run alone. jan.nijtmans added on 2026-10-22 08:38:28:
Fixed in [891b7e7921|trunk], not yet backported to 9.0 and 8.6 jan.nijtmans added on 2026-10-28 13:41:47:
Now also backported to core-9-0-branch and core-8-6-branch Closing. Many thanks! | ||||
