Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.