Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a4ad364ce3f3f086bd77ef1873f6f70556921dc1
Ticket: 833637ffffffffffffffffffffffffffffffffff
core file outside of test can cause error
User & Date: davidw on 2003-10-31 13:59:33
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The tcltest suite fails in particular circumstances due
    to the fact that on about line 2477 of tcltest.tcl
    inside the cleanupTest proc, there is a reference to
    the $name variable which is not set anywhere within
    that proc.
    
    Example:
    
    @ashland [~/workshop/tsttest] $ tclsh runall.tcl
    -singleproc 1
    Running with standard tcltest
    Tests running in interp:  /usr/bin/tclsh
    Tests located in:  /home/davidw/workshop/tsttest
    Tests running in:  /home/davidw/workshop/tsttest
    Temporary files stored in /home/davidw/workshop/tsttest
    Test files sourced into current interpreter
    Running tests that match:  *
    Skipping test files that match:  l.*.test
    Only running test files that match:  cleanupcore.test
    Tests began at Fri Oct 31 02:52:45 PM CET 2003
    cleanupcore.test
    >>>>>>>>>>>false
    
    Tests ended at Fri Oct 31 02:52:45 PM CET 2003
    runall.tcl:     Total   1       Passed  1       Skipped
    0       Failed  0
    Sourced 1 Test Files.
    rename core file (> 1)
    can't read "name": no such variable
        while executing
    "file join [temporaryDirectory] core-$name"
        (procedure "::tcltest::cleanupTests" line 169)
        invoked from within
    "::tcltest::cleanupTests"
        (file "runall.tcl" line 39)
    
    Files attached to recreate the bug.
    
    Hopefully I can whack this bug myself but some
    assistance will probably be required to figure out what
    should be happening.
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davidw"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "core file outside of test can cause error"
  11. type changed to: "Bug"