|
2026-11-17
| ||
| 14:41 | • Ticket [103abf181e] regression since 9.0.4 brings leaks and hangs to bundled Itc... artifact: 926ce5bc22 user: jan.nijtmans | |
|
2026-11-16
| ||
| 17:52 | • Ticket [103abf181e]: 3 changes artifact: 257230a4b3 user: serhiy.storchaka | |
|
2026-11-13
| ||
| 11:18 | • Closed ticket [2798078fff]: tcltest::cleanupTests makes Tk apps exit plus 6 ... artifact: e2866746f3 user: serhiy.storchaka | |
|
2026-10-28
| ||
| 13:44 | • Closed ticket [8413e79232]: tcltest should not exit an application plus 5 ot... artifact: 5753f561a7 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:31 | • Pending ticket [8413e79232]: tcltest should not exit an application plus 5 o... artifact: 5dc01db2a0 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
| ||
| 19:51 | • Ticket [8413e79232] tcltest should not exit an application status still Open... artifact: 672df0df4b user: serhiy.storchaka | |
| 19:46 | Fix [8413e79232]: cleanupTests exits under Tk only when the test file is the main script, not in an ... check-in: 2052c30735 user: serhiy.storchaka tags: tcltest-no-exit-when-sourced | |
|
2020-01-29
| ||
| 16:47 | • New ticket [8413e79232] tcltest should not exit an application. artifact: f7b980c531 user: tombert | |
| Ticket UUID: | 8413e79232449d82d512edfee22ded5701f683b5 | ||
| Title: | tcltest should not exit an application | ||
| Type: | Bug | Created on: | 2020-01-29 16:47:09 |
| Submitter: | tombert | Assigned to: | jan.nijtmans |
| Subsystem: | 34. tcltest Package | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2026-10-28 13:44:23 |
| Status: | Closed | Closed by: | jan.nijtmans |
| Resolution: | Fixed | Closed on: | 2026-10-28 13:44:23 |
| Version: | 8.6.18, 9.0.5, 9.1.0 | ||
| Description: | ||||
Well, the comment says it all.
From tcltest-2.5.1.tm:
# exit only if running Tk in non-interactive mode
#This should be changed to determine if an event
# loop is running, which is the real issue.
# Actually, this doesn't belong here at all. A package
# really has no business [exit]-ing an application.
if {![catch {package present Tk}] && ![testConstraint interactive]} {
exit
}
Took me an hour because I thought TCL is crashing. Here I see it's exiting.
Please fix/remove the exit from this code.
Regards
| ||||
| User Comments: | ||||
serhiy.storchaka added on 2026-10-20 19:51:17:
Still the case on main, 9.0 and 8.6. The Proposed fix in branch [2052c30735|tcltest-no-exit-when-sourced]: jan.nijtmans added on 2026-10-22 08:31:11:
Fixed in [891b7e7921|trunk], not backported yet to 9.0 and 8.6 jan.nijtmans added on 2026-10-28 13:44:23:
Now also backported to core-9-0-branch and core-8-6-branch Closing. Many thanks! | ||||
