| Ticket UUID: | 571563 | |||
| Title: | 14 test suite failures on Win2000 | |||
| Type: | Bug | Version: | obsolete: 8.4a5 | |
| Submitter: | vincentdarley | Created on: | 2002-06-20 09:37:27 | |
| Subsystem: | 68. Win Window Operations | Assigned To: | mdejong | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2002-08-06 23:37:47 | |
| Resolution: | Duplicate | Closed By: | vincentdarley | |
| Closed on: | 2002-08-06 16:37:47 | |||
| Description: |
ran make test with latest cvs head and got 17 test
failures on Win2000 (after 'nmake clean', 'nmake
test' usiong vc++ 5). (Note: I'm using the standard
desktop appearance etc).
.\Release\tktest.exe ../tests/all.tcl
| .\Release\cat32.exe
Tk 8.4a5 tests running in interp: c:/tcl-
source/tk8.4/win/Release/tktest.exe
Tests running in working dir: C:/Tcl-
source/tk8.4/win
Tests began at Thu Jun 20 10:07:51 AM GMT
Daylight Time 2002
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
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
focusTcl.test
font.test
frame.test
geometry.test
get.test
grab.test
grid.test
id.test
image.test
imgBmap.test
imgPPM.test
imgPhoto.test
listbox.test
macEmbed.test
macFont.test
macMenu.test
macWinMenu.test
macscrollbar.test
main.test
menu.test
menuDraw.test
menubut.test
message.test
msgbox.test
obj.test
oldpack.test
option.test
pack.test
panedwindow.test
==== panedwindow-10.1 sash mark/sash dragto
interaction FAILED
==== Contents of test case:
panedwindow .p -borderwidth 0 -sashpad 0 -
sashwidth 4 -showhandle false
.p add [frame .f -width 20 -height 20] [button .c]
.p sash mark 0 10 10
.p sash dragto 0 20 10
set result [.p sash coord 0]
destroy .p .f .c
set result
---- Result was:
28 0
---- Result should have been:
30 0
==== panedwindow-10.1 FAILED
==== panedwindow-10.2 sash mark/sash dragto
interaction FAILED
==== Contents of test case:
panedwindow .p -borderwidth 0 -sashpad 0 -
sashwidth 4 -orient vertical -sho
whandle false
.p add [frame .p.f -width 20 -height 20]
[button .p.c]
.p sash mark 0 10 10
.p sash dragto 0 10 20
set result [.p sash coord 0]
destroy .p .p.f .p.c
set result
---- Result was:
0 28
---- Result should have been:
0 30
==== panedwindow-10.2 FAILED
==== panedwindow-12.1 moving sash changes
size of pane to left FAILED
==== Contents of test case:
panedwindow .p -borderwidth 0 -sashpad 0 -
sashwidth 4 -showhandle false
.p add [frame .f -width 20 -height 20]
[button .c] -sticky nsew
.p sash place 0 30 0
pack .p
update
set result [winfo width .f]
destroy .p .f .c
set result
---- Result was:
28
---- Result should have been:
30
==== panedwindow-12.1 FAILED
==== panedwindow-12.4 moving sash changes
size of pane above FAILED
==== Contents of test case:
panedwindow .p -showhandle false -
borderwidth 0 -sashpad 0 -sashwidth 4 -or
ient vertical
.p add [frame .f -width 20 -height 10]
[button .c] -sticky nsew
.p sash place 0 0 20
pack .p
update
set result [winfo height .f]
destroy .p .f .c
set result
---- Result was:
18
---- Result should have been:
20
==== panedwindow-12.4 FAILED
place.test
raise.test
safe.test
scale.test
scrollbar.test
select.test
send.test
spinbox.test
text.test
textBTree.test
textDisp.test
skipping font-sensitive tests
textImage.test
textIndex.test
textMark.test
textTag.test
textWind.test
==== textWind-10.1 EmbWinLayoutProc procedure
FAILED
==== Contents of test case:
.t delete 1.0 end
.t insert 1.0 "Some sample text"
.t window create 1.5 -create {
frame .f -width 10 -height 20 -bg $color
}
update
list [winfo exists .f] [winfo geom .f] [.t index .f]
---- Result was:
1 10x20+45+5 1.5
---- Result should have been:
1 10x20+40+5 1.5
==== textWind-10.1 FAILED
==== textWind-10.11 EmbWinLayoutProc
procedure, doesn't fit on line FAILED
==== Contents of test case:
.t configure -wrap none
.t delete 1.0 end
.t insert 1.0 "Some sample text"
frame .f -width 130 -height 20 -bg $color -bd
2 -relief raised
.t window create 1.12 -window .f
update
list [.t bbox .f] [.t bbox 1.13]
---- Result was:
{101 5 130 20} {231 6 8 17}
---- Result should have been:
{89 5 126 20} {}
==== textWind-10.11 FAILED
==== textWind-11.1 EmbWinDisplayProc
procedure, geometry transforms FAILED
==== Contents of test case:
.t delete 1.0 end
.t insert 1.0 "Some sample text"
pack forget .t
place .t -x 30 -y 50
frame .f -width 30 -height 20 -bg $color
.t window create 1.12 -window .f
update
winfo geom .f
---- Result was:
30x20+131+55
---- Result should have been:
30x20+119+55
==== textWind-11.1 FAILED
==== textWind-11.2 EmbWinDisplayProc
procedure, geometry transforms FAILED
==== Contents of test case:
.t delete 1.0 end
.t insert 1.0 "Some sample text"
pack forget .t
place .t -x 30 -y 50
frame .t.f -width 30 -height 20 -bg $color
.t window create 1.12 -window .t.f
update
winfo geom .t.f
---- Result was:
30x20+101+5
---- Result should have been:
30x20+89+5
==== textWind-11.2 FAILED
==== textWind-13.1 EmbWinBboxProc procedure
FAILED
==== Contents of test case:
.t delete 1.0 end
.t insert 1.0 "Some sample text"
frame .f -width 5 -height 5 -bg $color
.t window create 1.2 -window .f -align top -
padx 2 -pady 1
update
list [winfo geom .f] [.t bbox .f]
---- Result was:
5x5+23+6 {23 6 5 5}
---- Result should have been:
5x5+21+6 {21 6 5 5}
==== textWind-13.1 FAILED
==== textWind-13.2 EmbWinBboxProc procedure
FAILED
==== Contents of test case:
.t delete 1.0 end
.t insert 1.0 "Some sample text"
frame .f -width 5 -height 5 -bg $color
.t window create 1.2 -window .f -align center -
padx 2 -pady 1
update
list [winfo geom .f] [.t bbox .f]
---- Result was:
5x5+23+11 {23 11 5 5}
---- Result should have been:
5x5+21+9 {21 9 5 5}
==== textWind-13.2 FAILED
==== textWind-13.9 EmbWinBboxProc procedure,
spacing options FAILED
==== Contents of test case:
.t configure -spacing1 5 -spacing3 2
.t delete 1.0 end
.t insert 1.0 "Some sample text"
frame .f -width 5 -height 5 -bg $color
.t window create 1.2 -window .f -align center -
padx 2 -pady 1
update
list [winfo geom .f] [.t bbox .f]
---- Result was:
5x5+23+16 {23 16 5 5}
---- Result should have been:
5x5+21+14 {21 14 5 5}
==== textWind-13.9 FAILED
==== textWind-16.2 EmbWinTextStructureProc
procedure FAILED
==== Contents of test case:
.t configure -wrap none
.t delete 1.0 end
.t insert 1.0 "Some sample text"
frame .f -width 30 -height 20 -bg $color
.t window create 1.6 -window .f
update
set result {}
lappend result [winfo geom .f] [.t bbox .f]
frame .f2 -width 150 -height 30 -bd 2 -relief
raised
pack .f2 -before .t
update
lappend result [winfo geom .f] [.t bbox .f]
---- Result was:
30x20+53+5 {53 5 30 20} 30x20+53+35 {53 5 30
20}
---- Result should have been:
30x20+47+5 {47 5 30 20} 30x20+47+35 {47 5 30
20}
==== textWind-16.2 FAILED
==== textWind-16.4 EmbWinTextStructureProc
procedure FAILED
==== Contents of test case:
.t configure -wrap none
.t delete 1.0 end
.t insert 1.0 "Some sample text"
frame .t.f -width 30 -height 20 -bg $color
.t window create 1.6 -window .t.f
update
pack forget .t
update
list [winfo ismapped .t.f] [.t bbox .t.f]
---- Result was:
1 {53 5 30 20}
---- Result should have been:
1 {47 5 30 20}
==== textWind-16.4 FAILED
tk.test
unixButton.test
skipping: Unix only tests...
unixEmbed.test
skipping: Unix only tests...
unixFont.test
skipping: Unix only tests...
unixMenu.test
skipping: Unix only tests...
unixSelect.test
skipping: Unix only tests...
unixWm.test
skipping: Unix only tests...
util.test
visual.test
visual_bb.test
winButton.test
winClipboard.test
winDialog.test
winFont.test
winMenu.test
winSend.test
skipping: Unimplemented send command
winWm.test
==== winWm-1.4 TkWmMapWindow FAILED
==== Contents of test case:
toplevel .t
wm geometry .t +10+10
update
toplevel .t2
wm geometry .t2 +40+10
update
set result [list [winfo x .t] [winfo x .t2]]
destroy .t .t2
set result
---- Result was:
0 0
---- Result should have been:
10 40
==== winWm-1.4 FAILED
==== winWm-2.4 TkpWmSetState FAILED
==== Contents of test case:
set result {}
toplevel .t
wm geometry .t 150x50+10+10
update
lappend result [list [wm state .t] [wm geometry .t]]
wm iconify .t
update
lappend result [list [wm state .t] [wm geometry .t]]
wm geometry .t 200x50+10+10
update
lappend result [list [wm state .t] [wm geometry .t]]
wm deiconify .t
update
lappend result [list [wm state .t] [wm geometry .t]]
destroy .t
set result
---- Result was:
{normal 150x50+0+0} {iconic 150x50+0+0} {iconic
150x50+10+10} {normal 200x50+0+0
}
---- Result should have been:
{normal 150x50+10+10} {iconic 150x50+10+10}
{iconic 150x50+10+10} {normal 200x50
+10+10}
==== winWm-2.4 FAILED
==== winWm-5.1 UpdateGeometryInfo: menu
resizing FAILED
==== Contents of test case:
set result {}
toplevel .t
frame .t.f -width 150 -height 50 -bg red
pack .t.f
update
set result [winfo height .t]
menu .t.m
.t.m add command -label foo
.t conf -menu .t.m
update
lappend result [winfo height .t]
.t.m add command -label "thisisreallylong"
.t.m add command -label "thisisreallylong"
update
lappend result [winfo height .t]
destroy .t
set result
---- Result was:
50 50 32
---- Result should have been:
50 50 50
==== winWm-5.1 FAILED
window.test
winfo.test
wm.test
==== wm-minsize-1.4 usage FAILED
==== Contents of test case:
wm minsize .t
---- Result was:
104 1
---- Result should have been:
1 1
==== wm-minsize-1.4 FAILED
xmfbox.test
Tests ended at Thu Jun 20 10:09:08 AM GMT
Daylight Time 2002
all.tcl: Total 7503 Passed 6481 Skipped
1005 Failed 17
Sourced 87 Test Files.
Files with failing tests: panedwindow.test
textWind.test winWm.test xmfbox.test
Number of tests skipped for each constraint:
6 altDisplay
7 emptyTest
265 fonts
2 knownBug
310 macOnly
15 macOrUnix
61 nonPortable
79 nonUnixUserInteraction
3 pseudocolor
1 tempNotPc
237 unixOnly
19 userInteraction
stderr32
Administrator@TRAPPER ~/tcl-source/tk8.4/win
$
| |||
| User Comments: |
vincentdarley added on 2002-08-06 23:37:47:
Logged In: YES user_id=32170 I've reported these separately, so closing this bug. vincentdarley added on 2002-06-24 16:30:55: Logged In: YES user_id=32170 Changed title of bug. vincentdarley added on 2002-06-24 16:28:12: Logged In: YES user_id=32170 I now only see 14 test failures in latest cvs head. The only 'winWm' test which fails now is 5.1; the other failures above in that test file now pass. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki