Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-02-27
16:09 • Ticket [2641651fff] failing tests: info-22.8, info-38.7 status still Closed ... artifact: 7419fdbdd8 user: dkf
2009-02-26
22:35 • Ticket [2641651fff]: 4 changes artifact: ca966ea2db user: nijtmans
22:03 • Closed ticket [2641651fff]. artifact: 4b37600d73 user: dkf
13:10 • New ticket [2641651fff]. artifact: 874c29c4a6 user: matzek

failing tests: info-22.8, info-38.7

Closed / Duplicate2641651fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-02-26 13:10:33
Hi *,

running "configure; make; make test" on AIX, HP-UX, Linux, and Solaris with the current HEAD gives

==== info-22.8 info frame, basic trace FAILED
==== Contents of test case:

    join [lrange [etrace] 0 2] \n

---- Result was:
8 {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
7 {type source line 765 file info.test cmd etrace proc ::tcltest::RunTest}
6 {type proc line 11 cmd {uplevel 1 $script} proc ::tcltest::RunTest}
---- Result should have been (glob matching):
* {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
* {type source line 765 file info.test cmd etrace proc ::tcltest::RunTest}
* {type source line * file tcltest* cmd {uplevel 1 $script} proc ::tcltest::RunTest}
==== info-22.8 FAILED

==== info-38.7 location information for arg substitution FAILED
==== Contents of test case:

    join [lrange [testevalex {return -level 0 [etrace]}] 0 3] \n

---- Result was:
9 {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
8 {type eval line 1 cmd etrace proc ::tcltest::RunTest}
7 {type source line 1414 file info.test cmd {testevalex {return -level 0 [etrace]}} proc ::tcltest::RunTest}
6 {type proc line 11 cmd {uplevel 1 $script} proc ::tcltest::RunTest}
---- Result should have been (glob matching):
* {type source line 728 file info.test cmd {info frame \$level} proc ::etrace level 0}
* {type eval line 1 cmd etrace proc ::tcltest::RunTest}
* {type source line 1414 file info.test cmd {testevalex {return -level 0 \[etrace]}} proc ::tcltest::RunTest}
* {type source line 2298 file tcltest.tcl cmd {uplevel 1 $script} proc ::tcltest::RunTest}
==== info-38.7 FAILED

on all systems.

Note: info-22.8 failed before, see #2129828 ...

kind regards
-- Matthias Kraft
dkfplain2009-02-26 22:03:18
allow_comments - 1
nijtmansplain2009-02-26 22:35:08
Didn't do a binary search, but I suspect that the
following change introduced this:

============================================
2009-01-05  Donal K. Fellows  <[email protected]>

* generic/tclCmdMZ.c (TclNRSourceObjCmd): Make implementation of the
* generic/tclIOUtil.c (TclNREvalFile):    [source] command be NRE
enabled so that [yield] inside a script sourced in a coroutine can
work. [Bug 2412068]
dkfplain2009-02-27 16:09:49
Yes, I know about it. It's tracked in another issue. #2487771
Log in (anonymous is fine) to add a comment.