Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 89afc303e012ca6170acdacc3e9d488464eeecce
Ticket: 219182ffffffffffffffffffffffffffffffffff
tcltest::cleanupTests should complain if arrays are not unse
User & Date: nobody on 2000-10-26 05:03:00
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2198 RFE
    Version: 8.1.1
    SubmitDate: '1999-06-08'
    LastModified: '1999-11-23'
    Severity: LOW
    Status: Assigned
    Submitter: hershey
    ChangedBy: jenn
    OS: All
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    If a test file uses a global array "foo" and doesn't unset it, another test file will be affected when it tries to set the scalar var "foo".
    
    The fix for this problem:
    1) store existing array names when defs.tcl is sourced
    2) in tcltest::cleanupTests, check if any new arrays exist.  If so, warn the user, who should change the test file to always unset the array.
    
    
    
    
    
  4. foundin changed to: "final: 8.1.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to:
    tcltest::cleanupTests should complain if arrays are not unse
    
  11. type changed to: "RFE"