Ticket Change Details
Overview

Artifact ID: 6fa1ec034e29477318196de3fa27924cfdf518b237c816f5a42f8f3d184fe413
Ticket: 64cdb7621260855edf46e074d3520d282d3d8cfd
tests/all.tcl always succeeds
User & Date: doofus on 2023-11-20 02:43:51
Changes

  1. foundin changed to: "1.7.22"
  2. icomment:
    Even if _all_ tests were to fail, the script `all.tcl` would still exit with code 0...
    
    That breaks automation, because the caller does not know of any test-failures.
    
    The patch below addresses this problem:
    
    ```patch
    --- tests/all.tcl       2020-10-12 16:39:22.000000000 -0400
    +++ tests/all.tcl       2023-11-19 21:19:34.128221000 -0500
    @@ -55,5 +55,5 @@
     # cleanup
     puts stdout "\nTests ended at [eval $timeCmd]"
    +set failCount [llength $::tcltest::failFiles]
     ::tcltest::cleanupTests 1
    -return
    -
    +exit [expr $failCount > 0]
    ```
    
  3. login: "doofus"
  4. mimetype: "text/x-markdown"
  5. private_contact changed to: "97c7e5a24584ec1fd28bf5cc453cd06585a9a915"
  6. severity changed to: "Critical"
  7. status changed to: "Open"
  8. title changed to: "tests/all.tcl always succeeds"
  9. type changed to: "Code Defect"