summaryrefslogtreecommitdiffstats
path: root/tests/frame.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-10-03 20:07:31 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-10-03 20:07:31 (GMT)
commit74e46dcc73df6d1c041cc9ac4776a25e477fbde4 (patch)
tree7e1c95a944ac3215d64804162706339dee40be9f /tests/frame.test
parent64216399f7b8a6bc91856d98c0ffe9a620c2f113 (diff)
downloadtk-74e46dcc73df6d1c041cc9ac4776a25e477fbde4.zip
tk-74e46dcc73df6d1c041cc9ac4776a25e477fbde4.tar.gz
tk-74e46dcc73df6d1c041cc9ac4776a25e477fbde4.tar.bz2
Stabilize frame-12.3 and textImage-4.2 by making use of <<TkWorldChanged>>. These tests sporadically fail at GitHub Actions in branch unstable_tests on macOS with clang (mem, --enable-aqua). When they fail, font-47.2 and font-47.3 also fail.
Diffstat (limited to 'tests/frame.test')
-rw-r--r--tests/frame.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/frame.test b/tests/frame.test
index c449588..a089606 100644
--- a/tests/frame.test
+++ b/tests/frame.test
@@ -1154,9 +1154,12 @@ test frame-12.3 {FrameWorldChanged procedure} -setup {
place .f -x 0 -y 0 -width 40 -height 40
pack [frame .f.f] -fill both -expand 1
update
+ bind .f <<TkWorldChanged>> { set fontwait 1 }
set h1 [font metrics myfont -linespace]
set y1 [winfo y .f.f]
+ set fontwait 0
font configure myfont -size 20
+ vwait fontwait
update
set h2 [font metrics myfont -linespace]
set y2 [winfo y .f.f]