Artifacts Associated With Ticket 833637ffffffffff
Ticket change [a4ad364ce3] (rid 110244) by davidw on 2003-10-31 13:59:33:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "davidw"
- subsystem initialized to: "34. tcltest Package"
- title initialized to: "core file outside of test can cause error"
- type initialized to: "Bug"
Add attachment "cleanupcore.test" [a6b990e242] (rid 98658) by davidw on 2003-10-31 20:59:34.
Ticket change [67ec9da097] (rid 102977) by davidw on 2003-10-31 20:59:34:
- icomment:
File Added - 66035: cleanupcore.test
- login: "davidw"
- mimetype: "text/plain"
- username: "davidw"
- icomment:
Ticket change [644c5192bc] (rid 92740) by davidw on 2003-11-01 04:18:36:
- icomment:
File Added - 66075: runall.tcl Logged In: YES user_id=240 Here is the runall.tcl bit... it's pretty simple.
- login: "davidw"
- mimetype: "text/plain"
- username: "davidw"
- icomment:
Add attachment "runall.tcl" [0b76dafb79] (rid 113991) by davidw on 2003-11-01 04:18:36.
Ticket change [0e9786f2ba] (rid 94644) by dgp on 2003-11-01 04:34:42:
- icomment:
Logged In: YES user_id=80530 I'm seeing [runAllTests] fail to return; can you confirm?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [36c6ed4b55] (rid 107163) by dgp on 2003-11-01 04:47:25:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c7effd4833] (rid 122028) by dgp on 2003-11-01 05:11:34:
- icomment:
Logged In: YES user_id=80530 Appears that the original bug dates back to tcltest version 1.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [961ffc23a3] (rid 106271) by dgp on 2003-11-13 08:00:30:
- foundin changed to: "obsolete: 8.5a0"
Ticket change [d6e304d7ef] (rid 123885) by dgp on 2004-02-04 13:09:30:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"
- icomment:
Ticket change [5762080a62] (rid 94478) by dgp on 2004-02-04 13:09:33:
- closedate changed to: "2004-02-04T06:09:33"
- closer changed to: "dgp"