Tk Source Code

View Ticket
Login
Ticket UUID: 220893
Title: some errors in the testsuite run
Type: Bug Version: final: 8.2.3
Submitter: welch Created on: 2000-11-01 01:30:46
Subsystem: 67. Unix Window Operations Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-12-28 02:33:51
Resolution: Works For Me Closed By: hobbs
    Closed on: 2001-12-27 19:33:51
Description:
OriginalBugID: 4171 Bug
Version: 8.2.3
SubmitDate: '2000-02-14'
LastModified: '2000-02-25'
Severity: MED
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: Linux-SuSE


Name:
Joachim Zaers

ObservedBehavior:
LD_LIBRARY_PATH=`pwd`:/usr/local/src/tcl8.2.3/unix:;  export LD_LIBRARY_PATH;  LIBPATH=`pwd`:/usr/local/src/tcl8.2.3/unix:; export LIBPATH;  SHLIB_PATH=`pwd`:/usr/local/src/tcl8.2.3/unix:;  export SHLIB_PATH;  TCL_LIBRARY=/usr/local/src/tcl8.2.3/library; export TCL_LIBRARY;  TK_LIBRARY=/usr/local/src/tk8.2.3/library; export TK_LIBRARY;  ./tktest ./../tests/all.tcl -geometry +0+0
Tk 8.2.0 tests running in interp:  /usr/local/src/tk8.2.3/unix/tktest
Tests running in working dir:  /usr/local/src/tk8.2.3/unix
Tests began at Tue Feb 08 12:28:46 MET 2000
bell.test
Bell should ring now ...
bgerror.test
bind.test
bitmap.test
border.test
button.test
canvImg.test
canvPs.test
canvRect.test
canvText.test
canvWind.test
canvas.test
clipboard.test
clrpick.test
cmds.test
color.test
config.test
cursor.test
entry.test

==== entry-3.81 EntryWidgetCmd procedure, "xview" widget command FAILED
==== Contents of test case:

    # UTF
    # If Tcl_NumUtfChars wasn't used, wrong answer would be:
    # {0.106383 0.319149} {0.117021 0.351064} {0.117021 0.351064}

    set x {}
    .e xview moveto .1
    lappend x [.e xview]
    .e xview moveto .11
    lappend x [.e xview]
    .e xview moveto .12
    lappend x [.e xview]

---- Result was:
{0.0957447 0.255319} {0.106383 0.265957} {0.117021 0.329787}
---- Result should have been:
{0.0957447 0.308511} {0.106383 0.319149} {0.117021 0.329787}
==== entry-3.81 FAILED

event.test
filebox.test
focus.test
focusTcl.test
font.test
frame.test
geometry.test
get.test
grid.test
id.test
image.test
imgBmap.test
imgPPM.test
imgPhoto.test
listbox.test
macEmbed.test
macFont.test
skipping: Mac only tests...
macMenu.test
skipping: Mac only tests...
macWinMenu.test
macscrollbar.test
skipping: Mac only tests...
main.test
menu.test
menuDraw.test
menubut.test
msgbox.test
obj.test
oldpack.test
option.test
pack.test
place.test
raise.test
safe.test
scale.test
scrollbar.test
select.test
send.test
Your X server is insecure, so "send" can't be used; skipping "send" tests.
text.test
textBTree.test
textDisp.test
textImage.test
textIndex.test
textMark.test
textTag.test
textWind.test
tk.test
unixButton.test
unixEmbed.test

==== unixEmbed-3.4 ContainerEventProc procedure, geometry requests FAILED
==== Contents of test case:

    foreach w [winfo child .] {
catch {destroy $w}
    }
    frame .f1 -container 1 -width 200 -height 50
    pack .f1
    dobg "set w1 [winfo id .f1]"
    dobg {
eval destroy [winfo child .]
toplevel .t1 -use $w1
    }
    update
    dobg {
.t1 configure -width 300 -height 80
    }
    update
    list [winfo width .f1] [winfo height .f1] [dobg {wm geometry .t1}]

---- Result was:
200 50 {bad window path name ".t1"}
---- Result should have been:
300 80 300x80+0+0
==== unixEmbed-3.4 FAILED

==== unixEmbed-7.2 TkpRedirectKeyEvent procedure, don't forward keystroke width FAILED
==== Contents of test case:

    foreach w [winfo child .] {
catch {destroy $w}
    }
    frame .f1 -container 1 -width 200 -height 50
    pack .f1
    dobg "set w1 [winfo id .f1]"
    dobg {
eval destroy [winfo child .]
toplevel .t1 -use $w1
    }
    update
    focus -force .f1
    update
    bind . <KeyPress> {lappend x {key %A}}
    set x {}
    set y [dobg {
update
bind .t1 <KeyPress> {lappend y {key %A}}
set y {}
event generate .t1 <KeyPress> -keysym b
set y
    }]
    update
    bind . <KeyPress> {}
    list $x $y

---- Result was:
{} {bad window path name ".t1"}
---- Result should have been:
{} {{key b}}
==== unixEmbed-7.2 FAILED

==== unixEmbed-8.1 TkpClaimFocus procedure FAILED
==== Contents of test case:

    foreach w [winfo child .] {
catch {destroy $w}
    }
    frame .f1 -container 1 -width 200 -height 50
    frame .f2 -width 200 -height 50
    pack .f1 .f2
    dobg "set w1 [winfo id .f1]"
    dobg {
eval destroy [winfo child .]
toplevel .t1 -use $w1 -highlightthickness 2 -bd 2 -relief sunken
    }
    focus -force .f2
    update
    list [dobg {
focus .t1
set x [list [focus]]
update
after 500
update
lappend x [focus]
    }] [focus]

---- Result was:
{bad window path name ".t1"} .f2
---- Result should have been:
{{} .t1} .f1
==== unixEmbed-8.1 FAILED

unixFont.test
unixMenu.test
unixSelect.test
unixSend.test
Your X server is insecure, so "send" can't be used; skipping "send" tests.
unixWm.test

==== unixWm-51.10 TkWmRestackToplevel procedure, don't move window that's already in the right place FAILED
==== Contents of test case:

    makeToplevels
    raise .raise1
    set time [lindex [time {raise .raise1}] 0]
    expr {$time < 2000000}

---- Result was:
0
---- Result should have been:
1
==== unixWm-51.10 FAILED

util.test
visual.test
visual_bb.test
winButton.test
winClipboard.test
winDialog.test
skipping: tests require the testwinevent command
winFont.test
winMenu.test
winSend.test
skipping: Windows only tests...
winWm.test
window.test
winfo.test
xmfbox.test

Tests ended at Tue Feb 08 12:36:39 MET 2000
all.tcl:Total6351Passed5949Skipped397Failed5
Sourced 84 Test Files.
Files with failing tests: entry.test unixEmbed.test unixWm.test
Number of tests skipped for each constraint:
2altDisplay
3colorsLeftover
2emptyTest
44macOnly
11macOrPc
1nonPOrtable
98nonPortable
230pcOnly
4pseudocolor
1secureServer
1userInteraction
User Comments: hobbs added on 2001-12-28 02:33:51:
Logged In: YES 
user_id=72656

Unable to repeat with 8.3.4 on SuSE 7.1.

dkf added on 2001-03-28 20:33:04:
Logged In: YES 
user_id=79902

unixWm-51.10 is probably failing because of the version of
Enlightenment being used.