| Ticket UUID: | f792b457eb0919dcd968ad9d27fdb22bdc4dfa44 | |||
| Title: | scrollbar-3.26, 3.27, 3.28, 3.35 tests fail on macOS | |||
| Type: | Bug | Version: | core-8-6-branch | |
| Submitter: | fvogel | Created on: | 2018-09-24 20:11:13 | |
| Subsystem: | 86. Test Tools | Assigned To: | fvogel | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2018-10-18 20:29:04 | |
| Resolution: | Fixed | Closed By: | fvogel | |
| Closed on: | 2018-10-18 20:29:04 | |||
| Description: |
scrollbar-3.26, 3.27, 3.28, 3.35 tests fail on macOS as follows:
==== scrollbar-3.26 ScrollbarWidgetCmd procedure, "delta" option FAILED
==== Contents of test case:
format {%.6g} [.s delta 0 20]
---- Result was:
0.125786
---- Result should have been (exact matching):
0.118343
==== scrollbar-3.26 FAILED
==== scrollbar-3.27 ScrollbarWidgetCmd procedure, "delta" option FAILED
==== Contents of test case:
format {%.6g} [.s delta 0 -20]
---- Result was:
-0.125786
---- Result should have been (exact matching):
-0.118343
==== scrollbar-3.27 FAILED
==== scrollbar-3.28 ScrollbarWidgetCmd procedure, "delta" option FAILED
==== Contents of test case:
toplevel .t -width 250 -height 100
wm geom .t +0+0
scrollbar .t.s -orient horizontal -borderwidth 2
place .t.s -width 201
update
set result [list [format {%.6g} [.t.s delta 0 20]] [format {%.6g} [.t.s delta [expr [getTroughSize .t.s] - 1] 0]]]
destroy .t
set result
---- Result was:
0 1.03659
---- Result should have been (exact matching):
0 1
==== scrollbar-3.28 FAILED
==== scrollbar-3.35 ScrollbarWidgetCmd procedure, "fraction" option FAILED
==== Contents of test case:
format {%.6g} [.s fraction 4 21]
---- Result was:
0.00628931
---- Result should have been (exact matching):
0.035503
==== scrollbar-3.35 FAILED
| |||
| User Comments: |
fvogel added on 2018-10-18 20:29:04:
Merged to core-8-6-branch and trunk. At this point scrollbar.test runs 100% PASS on all 3 plaftorms (Win Vista, Linux Debian 8 and macOS 10.12). fvogel added on 2018-09-25 19:14:44: Fixed by [62785e5e73]. fvogel added on 2018-09-24 20:11:54: I have a fix, need to clean it before committing. Stay tuned! | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki