Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-22
17:19 • Ticket [1df76ec751] tcltest: software termination does not result in a failure o... artifact: 3efec437f0 user: serhiy.storchaka
2026-10-21
08:47 • Closed ticket [1df76ec751]. artifact: 58f618c57e user: serhiy.storchaka
2018-10-24
14:23 • New ticket [1df76ec751]. artifact: 9867de0e25 user: bll

tcltest: software termination does not result in a failure of the test

Closed / Fixed1df76ec7518361403505e05049562d57873fc8f2Created 8 years agoUpdated 41 days ago
Descriptionplain2018-10-24 14:23:47
Occasionally my tests will hang (mac os x: timing related issues in my software) 
and I have to kill the test processes so that it will continue
with the rest of the tests.  This results in the following message:

Test file error: child killed: software termination signal

tcltest does not trap this, and does not report an error for the test.
tcltest should report this as a test failure.
serhiy.storchakawiki2026-10-21 08:47:09

Since Tcl 8.6.9 (tcltest 2.5, TIP 525: [a4ea2b2387], repaired by [0ef0b36b31]) a test file killed by a signal is listed under "Test files exiting with errors" and tcltest::runAllTests returns 1, so all.tcl can exit with a failure status. Checked with main, 9.0 and 8.6. Closing.

serhiy.storchaka Ticket [1df76ec751]: 3 changes [History diff]2026-10-22 17:19:28
Log in (anonymous is fine) to add a comment.