Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8a0a90f00bd9e587479579effdec4d635bf68d90
Ticket: 725253ffffffffffffffffffffffffffffffffff
customMatch attempt follows codeFailure
User & Date: dgp on 2003-04-21 20:29:41
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    When an unexpected error happens in a test,
    the return code (1) does not match the
    expected return codes (0 and 2 by default),
    however, result matching is still attempted
    against the result.  This can be trouble when
    the -custom match is in effect, and it expects
    a certain format of result (say, a valid list), which
    is not met by the error message.
    
    Fix for this, is to not bother checking the result
    match, when an unexpected return code is
    seen.  The unexpected return code is already
    enough to make the test fail, and one failure
    with a good message is better than multiple
    failures that cause confusion.
    
  4. foundin changed to: "obsolete: 8.5a0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "customMatch attempt follows codeFailure"
  11. type changed to: "Bug"