Attachment "w.tk-test" to
ticket [bb5b343f]
added by
bll
2020-07-23 17:21:59.
LD_LIBRARY_PATH="`pwd`:/home/bll/t/localD/lib:${LD_LIBRARY_PATH}"; export LD_LIBRARY_PATH; TCL_LIBRARY=/home/bll/t/tcl-work/tcl/library; export TCL_LIBRARY; TK_LIBRARY=/usr/home/bll/t/tcl-work/tk/library; export TK_LIBRARY; ./tktest /usr/home/bll/t/tcl-work/tk/unix/../tests/all.tcl -geometry +0+0
Tests running in interp: /usr/home/bll/t/tcl-work/tk/unix/tktest
Tests located in: /usr/home/bll/t/tcl-work/tk/tests
Tests running in: /usr/home/bll/t/tcl-work/tk/unix
Temporary files stored in /usr/home/bll/t/tcl-work/tk/unix
Test files sourced into current interpreter
Running tests that match: *
Skipping test files that match: l.*.test
Only running test files that match: *.test
Tests began at Thu Jul 23 10:13:53 PDT 2020
bell.test
Bell should ring now ...
bgerror.test
bind.test
bitmap.test
border.test
busy.test
button.test
canvImg.test
canvMoveto.test
canvPs.test
canvRect.test
canvText.test
==== canvText-20.1 angled text bounding box FAILED
==== Contents of test case:
.c create text 2 2 -tag t -anchor center -text 0 -font {Helvetica 24}
set bb0 [.c bbox t]
.c itemconf t -angle 90
set bb1 [.c bbox t]
.c itemconf t -angle 180
set bb2 [.c bbox t]
.c itemconf t -angle 270
set bb3 [.c bbox t]
list [expr {$bb0 eq $bb2 ? "ok" : "$bb0,$bb2"}] [expr {$bb1 eq $bb3 ? "ok" : "$bb1,$bb3"}] [expr {$bb0 eq [transpose $bb1] ? "ok" : "$bb0,$bb1"}]
---- Result was:
{-8 -16 12 21,-8 -17 12 20} {-16 -8 21 12,-17 -8 20 12} ok
---- Result should have been (exact matching):
ok ok ok
==== canvText-20.1 FAILED
canvWind.test
canvas.test
choosedir.test
clipboard.test
clrpick.test
cmds.test
color.test
config.test
cursor.test
dialog.test
embed.test
entry.test
event.test
filebox.test
focus.test
==== focus-2.6 TkFocusFilterEvent procedure, FocusIn events FAILED
==== Contents of test case:
focus .t.b1
focus .
update
event gen [testwrapper .t] <FocusIn> -detail NotifyAncestor
set focusInfo {}
set x [focus]
event gen . <KeyPress-x>
list $x $focusInfo
---- Result was:
. {press . x}
---- Result should have been (exact matching):
.t.b1 {press .t.b1 x}
==== focus-2.6 FAILED
==== focus-2.7 TkFocusFilterEvent procedure, FocusOut events FAILED
==== Contents of test case:
set result {}
foreach detail {NotifyAncestor NotifyInferior NotifyNonlinear
NotifyNonlinearVirtual NotifyPointer NotifyPointerRoot
NotifyVirtual} {
focus -force .t.b1
event gen [testwrapper .t] <FocusOut> -detail $detail
update
lappend result [focus]
}
return $result
---- Result was:
.t.b1 .t.b1 .t.b1 .t.b1 .t.b1 .t.b1 .t.b1
---- Result should have been (exact matching):
{} .t.b1 {} {} .t.b1 .t.b1 {}
==== focus-2.7 FAILED
==== focus-2.9 TkFocusFilterEvent procedure, FocusOut events FAILED
==== Contents of test case:
focus .t.b1
event gen [testwrapper .] <FocusOut> -detail NotifyAncestor
focus
---- Result was:
.t.b1
---- Result should have been (exact matching):
==== focus-2.9 FAILED
focusTcl.test
font.test
==== font-4.9 font command: actual FAILED
==== Contents of test case:
# (objc > 3) so objPtr = objv[3 + skip]
string tolower [font actual {-family times} -family]
---- Result was:
times new roman
---- Result should have been (exact matching):
times
==== font-4.9 FAILED
==== font-21.6 Tk_PostscriptFontName procedure: spaces FAILED
==== Contents of test case:
psfontname "{new century schoolbook} 10"
---- Result was:
DejavuSans
---- Result should have been (exact matching):
NewCenturySchlbk-Roman
==== font-21.6 FAILED
==== font-44.1 TkFontGetPixels: size < 0 FAILED
==== Contents of test case:
tk scaling 0.5
font actual {times -12} -size
---- Result was:
9
---- Result should have been (exact matching):
24
==== font-44.1 FAILED
fontchooser.test
frame.test
geometry.test
get.test
grab.test
grid.test
image.test
imgBmap.test
imgPNG.test
imgPPM.test
imgPhoto.test
listbox.test
main.test
menu.test
menuDraw.test
menubut.test
message.test
msgbox.test
obj.test
oldpack.test
option.test
pack.test
packgrid.test
panedwindow.test
place.test
raise.test
safe.test
safePrimarySelection.test
scale.test
scrollbar.test
==== scrollbar-3.36 ScrollbarWidgetCmd procedure, "fraction" option FAILED
==== Contents of test case:
format {%.6g} [.s fraction 4 179]
---- Result was:
0.976048
---- Result should have been (exact matching):
1
==== scrollbar-3.36 FAILED
==== scrollbar-3.38 ScrollbarWidgetCmd procedure, "fraction" option FAILED
==== Contents of test case:
format {%.6g} [.s fraction 4 178]
---- Result was:
0.97006
---- Result should have been (exact matching):
0.993711
==== scrollbar-3.38 FAILED
==== scrollbar-6.12.1 ScrollbarPosition procedure FAILED
==== Contents of test case:
.s identify 8 19
---- Result was:
trough1
---- Result should have been (exact matching):
arrow1
==== scrollbar-6.12.1 FAILED
==== scrollbar-6.29.1 ScrollbarPosition procedure FAILED
==== Contents of test case:
.s identify 8 180
---- Result was:
trough2
---- Result should have been (exact matching):
arrow2
==== scrollbar-6.29.1 FAILED
==== scrollbar-6.35 ScrollbarPosition procedure FAILED
==== Contents of test case:
.s identify 18 100
---- Result was:
---- Result should have been (exact matching):
trough2
==== scrollbar-6.35 FAILED
==== scrollbar-6.44 ScrollbarPosition procedure FAILED
==== Contents of test case:
.t.s identify 100 18
---- Result was:
---- Result should have been (exact matching):
trough2
==== scrollbar-6.44 FAILED
select.test
send.test
spinbox.test
text.test
textBTree.test
textDisp.test
==== textDisp-19.18 count -ypixels with indices in elided lines FAILED
==== Contents of test case:
.t configure -wrap none
.t delete 1.0 end
for {set i 1} {$i < 100} {incr i} {
.t insert end [string repeat "Line $i" 20]
.t insert end "\n"
}
.t tag add hidden 5.15 20.15
.t tag configure hidden -elide true
.t yview 35.0
set res {}
update
lappend res [.t count -ypixels 5.0 25.0]
.t yview scroll [expr {- 15 * $fixedHeight}] pixels
updateText
lappend res [.t count -ypixels 5.0 25.0]
---- Result was:
300 300
---- Result should have been (exact matching):
75 75
==== textDisp-19.18 FAILED
==== textDisp-20.1 FindDLine FAILED
==== Contents of test case:
.t yview 48.0
list [.t dlineinfo 46.0] [.t dlineinfo 47.0] [.t dlineinfo 49.0] [.t dlineinfo 58.0]
---- Result was:
{} {} {3 18 49 15 11} {}
---- Result should have been (exact matching):
{} {} {3 18 49 15 12} {}
==== textDisp-20.1 FAILED
==== textDisp-20.2 FindDLine FAILED
==== Contents of test case:
.t yview 100.0
.t yview -pickplace 53.0
list [.t dlineinfo 50.0] [.t dlineinfo 50.14] [.t dlineinfo 50.21]
---- Result was:
{3 -2 140 15 11} {3 -2 140 15 11} {3 13 133 15 11}
---- Result should have been (exact matching):
{3 -2 140 15 12} {3 -2 140 15 12} {3 13 133 15 12}
==== textDisp-20.2 FAILED
==== textDisp-20.3 FindDLine FAILED
==== Contents of test case:
.t yview 100.0
.t yview 49.0
list [.t dlineinfo 50.0] [.t dlineinfo 50.24] [.t dlineinfo 57.0]
---- Result was:
{3 18 140 15 11} {3 33 133 15 11} {}
---- Result should have been (exact matching):
{3 18 140 15 12} {3 33 133 15 12} {}
==== textDisp-20.3 FAILED
==== textDisp-20.4 FindDLine FAILED
==== Contents of test case:
.t yview 100.0
.t yview 42.0
list [.t dlineinfo 50.0] [.t dlineinfo 50.24] [.t dlineinfo 50.40]
---- Result was:
{3 123 140 15 11} {3 138 133 15 11} {}
---- Result should have been (exact matching):
{3 123 140 15 12} {3 138 133 15 12} {}
==== textDisp-20.4 FAILED
==== textDisp-20.5 FindDLine FAILED
==== Contents of test case:
.t yview 100.0
.t yview 48.0
list [.t dlineinfo 50.0] [.t dlineinfo 50.20] [.t dlineinfo 50.40]
---- Result was:
{3 33 371 15 11} {3 33 371 15 11} {3 33 371 15 11}
---- Result should have been (exact matching):
{3 33 371 15 12} {3 33 371 15 12} {3 33 371 15 12}
==== textDisp-20.5 FAILED
textImage.test
textIndex.test
textMark.test
textTag.test
textWind.test
tk.test
unixButton.test
unixEmbed.test
==== unixEmbed-7.1a TkpRedirectKeyEvent procedure, forward keystroke FAILED
==== Contents of test case:
deleteWindows
frame .f1 -container 1 -width 200 -height 50
pack .f1
slave alias w1 winfo id .f1
slave eval {
destroy [winfo child .]
toplevel .t1 -use [w1]
}
focus -force .
bind . <KeyPress> {lappend x {key %A %E}}
set x {}
set y [slave eval {
update
bind .t1 <KeyPress> {lappend y {key %A}}
set y {}
event generate .t1 <KeyPress> -keysym a
set y
}]
update
list $x $y
---- Result was:
{} {}
---- Result should have been (exact matching):
{{key a 1}} {}
==== unixEmbed-7.1a FAILED
==== unixEmbed-8.1 TkpClaimFocus procedure FAILED
==== Contents of test case:
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:
{.t1 .t1} .f2
---- Result should have been (exact matching):
{{} .t1} .f1
==== unixEmbed-8.1 FAILED
unixFont.test
==== unixfont-1.2 TkpGetNativeFont procedure: native FAILED
==== Contents of test case:
font measure fixed 0
---- Result was:
10
---- Result should have been (exact matching):
6
==== unixfont-1.2 FAILED
==== unixfont-2.2 TkpGetFontFromAttributes procedure: Times relatives FAILED
==== Contents of test case:
set x {}
lappend x [lindex [font actual {-family "Times New Roman"}] 1]
lappend x [lindex [font actual {-family "New York"}] 1]
lappend x [lindex [font actual {-family "Times"}] 1]
---- Result was:
{Times New Roman} {DejaVu Sans} {Times New Roman}
---- Result should have been (exact matching):
times times times
==== unixfont-2.2 FAILED
==== unixfont-2.3 TkpGetFontFromAttributes procedure: Courier relatives FAILED
==== Contents of test case:
set x {}
lappend x [lindex [font actual {-family "Courier New"}] 1]
lappend x [lindex [font actual {-family "Monaco"}] 1]
lappend x [lindex [font actual {-family "Courier"}] 1]
---- Result was:
{Courier New} {DejaVu Sans} Courier
---- Result should have been (exact matching):
courier courier courier
==== unixfont-2.3 FAILED
==== unixfont-2.4 TkpGetFontFromAttributes procedure: Helvetica relatives FAILED
==== Contents of test case:
set x {}
lappend x [lindex [font actual {-family "Arial"}] 1]
lappend x [lindex [font actual {-family "Geneva"}] 1]
lappend x [lindex [font actual {-family "Helvetica"}] 1]
---- Result was:
Arial {DejaVu Sans} Arial
---- Result should have been (exact matching):
helvetica helvetica helvetica
==== unixfont-2.4 FAILED
==== unixfont-2.6 TkpGetFontFromAttributes: fallback to fixed family FAILED
==== Contents of test case:
lindex [font actual {-family fixed -size 10}] 1
---- Result was:
DejaVu Sans
---- Result should have been (exact matching):
fixed
==== unixfont-2.6 FAILED
==== unixfont-2.8 TkpGetFontFromAttributes: loop over returned font names FAILED
==== Contents of test case:
lindex [font actual {-family fixed -size 31}] 1
---- Result was:
DejaVu Sans
---- Result should have been (exact matching):
fixed
==== unixfont-2.8 FAILED
==== unixfont-2.9 TkpGetFontFromAttributes: reject adobe courier if possible FAILED
==== Contents of test case:
lindex [font actual {-family courier}] 1
---- Result was:
Courier
---- Result should have been (exact matching):
courier
==== unixfont-2.9 FAILED
==== unixfont-5.8 Tk_MeasureChars procedure: internal spaces significant FAILED
==== Contents of test case:
.b.l config -text "00 000 00000"
getsize
---- Result was:
60 38
---- Result should have been (exact matching):
70 38
==== unixfont-5.8 FAILED
==== unixfont-5.9 Tk_MeasureChars procedure: TK_PARTIAL_OK FAILED
==== Contents of test case:
.b.c dchars $t 0 end
.b.c insert $t 0 "0000"
.b.c index $t @[expr int($ax*2.5)],1
---- Result was:
4
---- Result should have been (exact matching):
2
==== unixfont-5.9 FAILED
==== unixfont-5.12 Tk_MeasureChars procedure: include eol spaces FAILED
==== Contents of test case:
.b.l config -text "000 \n000"
getsize
---- Result was:
45 38
---- Result should have been (exact matching):
60 38
==== unixfont-5.12 FAILED
==== unixfont-8.4 AllocFont procedure: classify characters FAILED
==== Contents of test case:
set x 0
incr x [font measure $courier "\u4000"] ;# 6
incr x [font measure $courier "\002"] ;# 4
incr x [font measure $courier "\012"] ;# 2
incr x [font measure $courier "\101"] ;# 1
set x
---- Result was:
24
---- Result should have been (exact matching):
78
==== unixfont-8.4 FAILED
==== unixfont-8.6 AllocFont procedure: setup widths of special chars FAILED
==== Contents of test case:
set x 0
incr x [font measure $courier "\001"] ;# 4
incr x [font measure $courier "\002"] ;# 4
incr x [font measure $courier "\012"] ;# 2
set x
---- Result was:
18
---- Result should have been (exact matching):
60
==== unixfont-8.6 FAILED
==== unixfont-9.1 GetControlCharSubst procedure: 2 chars subst FAILED
==== Contents of test case:
.b.c dchars $t 0 end
.b.c insert $t 0 "0\a0"
set x {}
lappend x [.b.c index $t @[expr $ax*0],0]
lappend x [.b.c index $t @[expr $ax*1],0]
lappend x [.b.c index $t @[expr $ax*2],0]
lappend x [.b.c index $t @[expr $ax*3],0]
---- Result was:
0 1 3 3
---- Result should have been (exact matching):
0 1 1 2
==== unixfont-9.1 FAILED
==== unixfont-9.2 GetControlCharSubst procedure: 4 chars subst FAILED
==== Contents of test case:
.b.c dchars $t 0 end
.b.c insert $t 0 "0\0010"
set x {}
lappend x [.b.c index $t @[expr $ax*0],0]
lappend x [.b.c index $t @[expr $ax*1],0]
lappend x [.b.c index $t @[expr $ax*2],0]
lappend x [.b.c index $t @[expr $ax*3],0]
lappend x [.b.c index $t @[expr $ax*4],0]
lappend x [.b.c index $t @[expr $ax*5],0]
---- Result was:
0 1 3 3 3 3
---- Result should have been (exact matching):
0 1 1 1 1 2
==== unixfont-9.2 FAILED
unixMenu.test
unixSelect.test
unixWm.test
==== unixWm-4.3 moving window while withdrawn FAILED
==== Contents of test case:
wm withdraw .t
sleep 200
wm geom .t $geom
update
wm deiconify .t
animationDelay
wm geom .t
---- Result was:
100x150+0+31
---- Result should have been (exact matching):
100x150+0+0
==== unixWm-4.3 FAILED
==== unixWm-44.7 UpdateGeometryInfo procedure, computing position FAILED
==== Contents of test case:
tkwait visibility .t
wm overrideredirect .t 1
update
wm geometry .t +5-10
update
list [winfo x .t] [winfo y .t]
---- Result was:
742 1314
---- Result should have been (exact matching):
5 907
==== unixWm-44.7 FAILED
==== unixWm-44.8 UpdateGeometryInfo procedure, computing position FAILED
==== Contents of test case:
tkwait visibility .t
wm overrideredirect .t 1
update
wm geometry .t -30+$Y2
update
list [winfo x .t] [winfo y .t]
---- Result was:
2182 443
---- Result should have been (exact matching):
1455 2
==== unixWm-44.8 FAILED
==== unixWm-45.2 UpdateSizeHints procedure FAILED
==== Contents of test case:
destroy .t
toplevel .t -width 80 -height 60
wm minsize .t 30 40
wm maxsize .t 200 500
wm geometry .t +0+0
tkwait visibility .t
set property [testprop [testwrapper .t] WM_NORMAL_HINTS]
list [expr [lindex $property 5]] [expr [lindex $property 6]] [expr [lindex $property 7]] [expr [lindex $property 8]] [expr [lindex $property 9]] [expr [lindex $property 10]]
---- Result was:
30 40 200 500 0 0
---- Result should have been (exact matching):
30 40 200 500 1 1
==== unixWm-45.2 FAILED
==== unixWm-45.4 UpdateSizeHints procedure, not resizable with menu FAILED
==== Contents of test case:
destroy .t
toplevel .t -width 80 -height 60
frame .t.menu -height 23 -width 50
testmenubar window .t .t.menu
wm resizable .t 0 0
wm geometry .t +0+0
tkwait visibility .t
set property [testprop [testwrapper .t] WM_NORMAL_HINTS]
list [winfo height .t] [expr [lindex $property 5]] [expr [lindex $property 6]] [expr [lindex $property 7]] [expr [lindex $property 8]] [expr [lindex $property 9]] [expr [lindex $property 10]]
---- Result was:
60 80 83 80 83 0 0
---- Result should have been (exact matching):
60 80 83 80 83 1 1
==== unixWm-45.4 FAILED
util.test
visual.test
visual_bb.test
winButton.test
winClipboard.test
winDialog.test
winFont.test
winMenu.test
winMsgbox.test
winSend.test
winWm.test
window.test
winfo.test
wm.test
==== wm-stackorder-5.2 A normal toplevel can't be raised above an overrideredirect toplevel on unix FAILED
==== Contents of test case:
toplevel .t
tkwait visibility .t
wm overrideredirect .t 1
raise .
update
raiseDelay
wm stackorder . isabove .t
---- Result was:
1
---- Result should have been (exact matching):
0
==== wm-stackorder-5.2 FAILED
==== wm-stackorder-5.3 An overrideredirect window can be explicitly lowered FAILED
==== Contents of test case:
toplevel .t
tkwait visibility .t
wm overrideredirect .t 1
lower .t
update
raiseDelay
wm stackorder .t isbelow .
---- Result was:
0
---- Result should have been (exact matching):
1
==== wm-stackorder-5.3 FAILED
xmfbox.test
Tests ended at Thu Jul 23 10:17:42 PDT 2020
all.tcl: Total 9648 Passed 8642 Skipped 964 Failed 42
Sourced 92 Test Files.
Files with failing tests: canvText.test focus.test font.test scrollbar.test textDisp.test unixEmbed.test unixFont.test unixWm.test wm.test
Number of tests skipped for each constraint:
14 altDisplay
29 aqua
5 aquaOrWin32
16 colorsFree
4 colorsLeftover
21 defaultPseudocolor8
10 emptyTest
125 fonts
1 fullutf
1 havePseudocolorVisual
7 knownBug
1 memory
117 nonPortable
62 nt
2 pressbutton
5 pseudocolor8
11 testmetrics
7 testwinevent
133 textfonts
2 userInteraction
340 win
51 winSend
LD_LIBRARY_PATH="`pwd`:/home/bll/t/localD/lib:${LD_LIBRARY_PATH}"; export LD_LIBRARY_PATH; TCL_LIBRARY=/home/bll/t/tcl-work/tcl/library; export TCL_LIBRARY; TK_LIBRARY=/usr/home/bll/t/tcl-work/tk/library; export TK_LIBRARY; ./tktest /usr/home/bll/t/tcl-work/tk/unix/../tests/ttk/all.tcl -geometry +0+0
Tests running in interp: /usr/home/bll/t/tcl-work/tk/unix/tktest
Tests located in: /usr/home/bll/t/tcl-work/tk/tests/ttk
Tests running in: /usr/home/bll/t/tcl-work/tk/unix
Temporary files stored in /usr/home/bll/t/tcl-work/tk/unix
Test files sourced into current interpreter
Running tests that match: *
Skipping test files that match: l.*.test
Only running test files that match: *.test
Tests began at Thu Jul 23 10:17:42 PDT 2020
checkbutton.test
combobox.test
entry.test
==== entry-2.1.1 Create entry before scrollbar - scrollbar catches up FAILED
==== Contents of test case:
pack [ttk::entry .te -xscrollcommand [list .tsb set]] -expand true -fill both
.te insert end [string repeat "abc" 50]
catch {update} ; # error triggers because the -xscrollcommand callback
# errors out: invalid command name ".tsb"
pack [ttk::scrollbar .tsb -orient horizontal -command [list .te xview]] -expand false -fill x
update ; # no error
lappend res [expr [lindex [.tsb get] 1] < 1] ; # scrollbar did update
---- Result was:
0
---- Result should have been (exact matching):
1
==== entry-2.1.1 FAILED
image.test
labelframe.test
layout.test
notebook.test
panedwindow.test
progressbar.test
radiobutton.test
scrollbar.test
spinbox.test
treetags.test
treeview.test
ttk.test
==== ttk-2.8 bug 3223850: button state disabled during click FAILED
==== Contents of test case:
bind .b <ButtonPress-1> {after 0 {.b configure -state disabled}}
after 1 {event generate .b <ButtonPress-1>}
after 20 {event generate .b <ButtonRelease-1>}
set aid [after 100 {set ::ttk28 [.b instate {disabled !pressed}]}]
vwait ::ttk28
after cancel $aid
set ttk28
---- Result was:
failed
---- Result should have been (exact matching):
1
==== ttk-2.8 FAILED
validate.test
vsapi.test
Tests ended at Thu Jul 23 10:17:46 PDT 2020
all.tcl: Total 488 Passed 469 Skipped 17 Failed 2
Sourced 17 Test Files.
Files with failing tests: entry.test ttk.test
Number of tests skipped for each constraint:
2 NA
4 coreEntry
3 coreScrollbar
5 nyi
3 xpnative