Skip to content
Tcl Source Code View Ticket
Login

View Ticket

oo-22.1 fails -singleproc 1

Closed / Out of Date3390676fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 3 years ago
Descriptionplain2011-08-12 17:32:57
==== oo-22.1 OO and info frame FAILED
==== Contents of test case:

    oo::define c self method frame {} {
        info frame 0
    }
    oo::define c {
        method frames {} {
            info frame 0
        }
        method level {} {
            info frame
        }
    }
    oo::objdefine i {
        method frames {} {
            list [next] [info frame 0]
        }
        method level {} {
            expr {[next] - [info frame]}
        }
    }
    list [i level] [i frames] [dict get [c frame] object]

---- Result was:
1 {{type proc line 2 cmd {info frame 0} method frames class ::c level 0} {type proc line 2 cmd {info frame 0} method frames object ::i level 0}} ::c
---- Result should have been (glob matching):
1 {{type source line * file * cmd {info frame 0} method frames class ::c level 0} {type source line * file * cmd {info frame 0} method frames object ::i level 0}} ::c
==== oo-22.1 FAILED
dkfplain2011-08-13 08:19:25
Assigning to someone who might know why this is happening ('cos I don't know).
dgpplain2011-09-24 02:24:08
same issue as the info.test failures in -singleproc 1
operations.
dkfmarkdown2024-05-23 14:26:57

The exact things that the test was looking for appears to have been changed so this now doesn't fail. (I've been running oo.test with -singleproc 1 a fair bit recently...)

Log in (anonymous is fine) to add a comment.