Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2018-11-08
17:06
[86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure Repairs TIP 525 imple... check-in: 63b4305a16 user: dgp tags: core-8-6-9-rc
17:05
[86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure. Repairs TIP 525 Impl... check-in: 0ef0b36b31 user: dgp tags: core-8-5-branch
2018-11-07
19:03 • Closed ticket [86d249bcba]: tcltest: runalltests not returning 1 on test failure... artifact: e9ef1a5f33 user: dkf
18:56
[86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure check-in: c09518b7e2 user: dkf tags: core-8-6-branch
18:50
[86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure closed check-in: 604d3d2503 user: dkf tags: bug-86d249bcba
15:43 • New ticket [86d249bcba] tcltest: runalltests not returning 1 on test failure... artifact: 87c2d70d32 user: dkf

tcltest: runalltests not returning 1 on test failure

Closed / Fixed86d249bcbaf39ea85586b57148920783d57e29dbCreated 8 years agoUpdated 8 years ago
Descriptionhtml2018-11-07 15:43:02

tcltest::runAllTests doesn't actually return 1 when a test fails. It's internally too clever by half, setting failFiles back to the empty string after reporting.

I've got a fix that I'll break into its own branch.

Referenced by4
  • 63b4305a16[86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure Repairs TIP 525 implementation. check-in2018-11-08 17:06:02
  • 0ef0b36b31[86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure. Repairs TIP 525 Implementation. check-in2018-11-08 17:05:00
  • c09518b7e2[86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure check-in2018-11-07 18:56:14
  • 604d3d2503[86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure check-in2018-11-07 18:50:09
dkfhtml2018-11-07 19:03:34

Fixed. This makes TIP 525 actually behave as advertised.

Log in (anonymous is fine) to add a comment.