Skip to content
Tcl Source Code History Of Ticket 833637ffffffffff
Login

History Of Ticket 833637ffffffffff

Artifacts Associated With Ticket 833637ffffffffff

  1. Ticket change [a4ad364ce3] (rid 110244) by davidw on 2003-10-31 13:59:33:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "davidw"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "core file outside of test can cause error"
    11. type initialized to: "Bug"
  2. Add attachment "cleanupcore.test" [a6b990e242] (rid 98658) by davidw on 2003-10-31 20:59:34.

  3. Ticket change [67ec9da097] (rid 102977) by davidw on 2003-10-31 20:59:34:

    1. icomment:
      
      
      File Added - 66035: cleanupcore.test
      
      
      
    2. login: "davidw"
    3. mimetype: "text/plain"
    4. username: "davidw"
  4. Ticket change [644c5192bc] (rid 92740) by davidw on 2003-11-01 04:18:36:

    1. icomment:
      
      
      File Added - 66075: runall.tcl
      
      Logged In: YES 
      user_id=240
      
      Here is the runall.tcl bit... it's pretty simple.
      
      
    2. login: "davidw"
    3. mimetype: "text/plain"
    4. username: "davidw"
  5. Add attachment "runall.tcl" [0b76dafb79] (rid 113991) by davidw on 2003-11-01 04:18:36.

  6. Ticket change [0e9786f2ba] (rid 94644) by dgp on 2003-11-01 04:34:42:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      I'm seeing [runAllTests] fail to return;
      can you confirm?
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [36c6ed4b55] (rid 107163) by dgp on 2003-11-01 04:47:25:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      no, it doesn't fail to return after all, 
      it just takes a loooonnnnnnnggggg
      time becuse [GetMatchingDirectories]
      scans the entire filesystem tree below
      [testsDirectory].
      
      Anyone else testing for this bug be
      warned - do your testing in a directory
      without subdirectories.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [c7effd4833] (rid 122028) by dgp on 2003-11-01 05:11:34:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Appears that the original bug
      dates back to tcltest version 1.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [961ffc23a3] (rid 106271) by dgp on 2003-11-13 08:00:30:

    1. foundin changed to: "obsolete: 8.5a0"
  10. Ticket change [d6e304d7ef] (rid 123885) by dgp on 2004-02-04 13:09:30:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      This bug was introduced
      in revision 1.5, before even
      version tcltest 1.0 was
      released (with Tcl 8.2).
      
      It appears that code was
      copy/paste/modified from
      [test] (where $name is
      an argument) to [cleanupTests]
      (where there is no $name).
      
      Committing fix where $name
      in cleanupTests is changed to
      $testFileName, which seems
      to be the appropriate analog.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
    6. username: "dgp"
  11. Ticket change [5762080a62] (rid 94478) by dgp on 2004-02-04 13:09:33:

    1. closedate changed to: "2004-02-04T06:09:33"
    2. closer changed to: "dgp"