Tcl Source Code

View Ticket
Login
Ticket UUID: 2798078
Title: tcltest::cleanupTests makes Tk apps exit
Type: RFE Created on: 2009-05-28 19:46:33
Submitter: eriklns Assigned to: dgp
Subsystem: 34. tcltest Package Severity:
Priority: 5 Medium Last modified: 2026-11-13 11:18:44
Status: Closed Closed by: serhiy.storchaka
Resolution: Duplicate Closed on: 2026-11-13 11:18:43
Version: None
Description:
* tcltest.tcl (cleanupTests): the code around line 2434 in  makes Tk apps exit.

The comments to these specific lines already recognize the inappropriateness.
Suggest to remove it.
User Comments:
dgp added on 2009-05-29 21:01:46:
"Just remove it" can't happen until there's
an alternative solution to make the Tk
test suite work.

This item is related to RFE 2794560.
Solving this issue should be part of
satisfying that feature request, I think.
Will be more certain after some more
time to look over the details.

dgp added on 2009-05-29 21:42:49:

data_type - 360894

serhiy.storchaka added on 2026-11-13 11:18:44:

Duplicate of [8413e79232], fixed in tcltest 2.6.1: cleanupTests now exits under Tk only when the test file is the main script, not when an application sources it.