Artifacts Associated With Ticket 460591ffffffffff
Ticket change [19f696b7f7] (rid 122893) by dgp on 2001-09-11 06:19:27:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
tcltest 2 defaults to evaluating each of the files tests/*.test in its own child process. This minimizes the reach of failing tests that crash a process and helps to isolate tests from one another. When [tcltest::singleProcess 1] is evaluated, this default is overridden, and all tests are evaluated in a single process. Some isolation is lost. For example, tests that assume that a command or a variable is not defined may fail because that command or variable has been defined by tests in another file. Particular culprits are [foo] or $res. Note that tcltest 2.0.1 has recently been changed by Vince Darley to automatically detect when the tests are not being run from a native file system, and to set [tcltest::singleProcess 1] in that case, so it's important that the Tcl test suite work in this mode. Note also that when backporting tests to the Tcl 8.3.x branch, the Tcl 8.3.x release include tcltest 1, not tcltest 2, so all tests are evaluated in a single process. The following tests fail when 'make test' is invoked in single process mode: ioCmd-8.11 ioCmd-8.12 ioCmd-8.13 namespace-41.1 rename-4.1 rename-4.2 stack-2.1 tcltest-5.5
- foundin initialized to: "obsolete: 8.4a4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "None"
- title initialized to: "tcltest::singleProcess 1 ==> 8 tests fai"
- type initialized to: "Bug"
Ticket change [659c239d90] (rid 102583) by hobbs on 2001-09-12 01:25:11:
- icomment:
Logged In: YES user_id=72656 These can be isolated, as done with stack-2.1: *************** *** 46,55 **** } {too many nested calls to Tcl_EvalObj (infinite loop?)} test stack-2.1 {maxNestingDepth reached on infinite recursion} {minStack2400} { ! catch {rename unknown unknown_safe} ! interp alias {} unknown {} notaknownproc ! catch {foo} msg ! catch {rename unknown {} ; rename unknown_safe unknown} set msg } {too many nested calls to AliasObjCmd (infinite loop using alias?)} --- 46,57 ---- } {too many nested calls to Tcl_EvalObj (infinite loop?)} test stack-2.1 {maxNestingDepth reached on infinite recursion} {minStack2400} { ! # do this in a slave to not mess with parent ! set slave stack-2.1 ! interp create $slave ! $slave eval { interp alias {} unknown {} notaknownproc } ! set msg [$slave eval { catch {foo} msg ; set msg }] ! interp delete $slave set msg } {too many nested calls to AliasObjCmd (infinite loop using alias?)} - login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- username: "hobbs"
- icomment:
Ticket change [13997a3c2c] (rid 124251) by dgp on 2001-09-13 02:46:45:
- icomment:
Logged In: YES user_id=80530 The ioCmd-8.* test failures did not depend on the single process matter. They're now reported separately as 460993.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [baada9eea8] (rid 129362) by dgp on 2001-09-13 03:15:01:
- icomment:
Logged In: YES user_id=80530 I saw a failure in tcltest-5.5 only due to a bug in tcltest. That's now reported as Tcl bug 461000.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [edc2bbc71a] (rid 103949) by dgp on 2001-09-13 03:26:54:
- icomment:
File Added - 10714: iso.patch Logged In: YES user_id=80530 Attached patch corrects all test isolation errors exposed by: make test TESTFLAGS="-singleProc 1"
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "iso.patch" [d392bcacef] (rid 123314) by dgp on 2001-09-13 03:26:54.
Ticket change [5ba2ea96a1] (rid 118365) by dgp on 2001-09-13 03:35:38:
- closedate changed to: "2001-09-12T20:35:38"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Patch committed to HEAD and relevant portions to 8-3-1-branch.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"