Overview
| Artifact ID: | 943348dc930d78b94f7a7610d71693d4cafdcd52a0a063bfaf344d99e66f4608 |
|---|---|
| Ticket: | 554117eddec7220f1cda04c16cc45a77d6c175e0
Tcl_SaveInterpState/Tcl_RestoreInterpState are not usable to save interpreter state (error info/code) |
| User & Date: | jan.nijtmans on 2023-09-12 13:40:37 |
Changes
- icomment:
I'm seeing 3 failing test-cases: <pre> init.test ==== init-0.1 no error on initialization phase (init.tcl) FAILED ==== Contents of test case: child eval { list [set v [info exists ::errorInfo]] [if {$v} {set ::errorInfo}] [set v [info exists ::errorCode]] [if {$v} {set ::errorCode}] } ---- Result was: 0 {} 1 {} ---- Result should have been (exact matching): 0 {} 0 {} ==== init-0.1 FAILED ioCmd.test ==== iocmd-21.8 chan create, initialize failed, bad result, not a list FAILED ==== Contents of test case: proc foo {args} {return "\{"} catch {chan create {r w} foo} msg rename foo {} set ::errorInfo ---- Result was: wrong # args: should be "::foo" while executing "::foo initialize rc3 {read write}" (chan handler subcommand "initialize") invoked from within "chan create {r w} ::foo" invoked from within "chan create {r w} foo" ---- Result should have been (glob matching): chan handler "foo initialize" returned non-list: * ==== iocmd-21.8 FAILED ioTrans.test ==== iortrans-2.7 chan push, initialize failed, bad result, not a list FAILED ==== Contents of test case: proc foo {args} {return "\{"} catch {chan push [tempchan] foo} return $::errorInfo ---- Result was: wrong # args: should be "::foo" while executing "::foo initialize rt2 {read write}" (chan handler subcommand "initialize") invoked from within "chan push [tempchan] ::foo" ("uplevel" body line 3) invoked from within "uplevel 1 $script" invoked from within "chan push [tempchan] foo" ---- Result should have been (glob matching): chan handler "foo initialize" returned non-list: * ==== iortrans-2.7 FAILED </pre> - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"