|
2008-06-17
| ||
| 03:01 | • Closed ticket [1987851fff]: info frame test failures plus 3 other changes artifact: 9c3b84b3b8 user: andreas_kupries | |
| 03:01 | • Ticket [1987851fff]: 4 changes artifact: 825a3a1c4d user: andreas_kupries | |
| 02:31 | • Ticket [1987851fff]: 5 changes artifact: 22ebd71cd6 user: andreas_kupries | |
|
2008-06-16
| ||
| 23:07 | • Ticket [1987851fff]: 5 changes artifact: e919ad3381 user: dgp | |
|
2008-06-08
| ||
| 03:27 | • New ticket [1987851fff]. artifact: eacd741404 user: msofer | |
[info frame] test failures
Closed / Fixed1987851fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-06-08 03:27:09
After committing Patch 1973096 (compilation of uplevel scripts), tests info-22.3-5 fail. This possibly points to the patch not setting up properly the frame for the newly compiled scripts. The three failures are identical:
==== info-22.3 info frame, current, relative FAILED
==== Contents of test case:
info frame 0
---- Result was:
type eval line 2 cmd {info frame 0} proc ::tcltest::RunTest
---- Result should have been (exact matching):
type eval line 2 cmd {info frame 0}
==== info-22.3 FAILED
dgpplain2008-06-16 23:07:27
Logged In: YES user_id=80530 Originator: NO Would like this resolved for 8.6a1 release.
andreas_kupriesplain2008-06-17 02:31:45
Logged In: YES user_id=75003 Originator: NO Further investigation shows that a bug is present, but _not_ in the new patch. The bug is in the implementation of [info frame] which restricts the lookup of information for key 'proc' to bytecoded execution instead of doing it in general. This is in tclCmdIL.c, line 1184 and lines 1220ff. These two pieces should be run after the whole 'switch' instead of just the TCL_LOCATION_BC branch.
andreas_kupriesplain2008-06-17 03:01:56
Logged In: YES user_id=75003 Originator: NO Updated the testsuite, the new results are the correct ones. Changed code, moving 'proc' lookup after the switch. Tested with 'uplevel' (temporarily switched back to eval-direct) that this now does the 'proc' lookup for the eval-direct path as well. Passes testsuite for both. Committed to head.
andreas_kupries Closed ticket [1987851fff].
[History diff]2008-06-17 03:01:57
Log in (anonymous is fine) to add a comment.