summaryrefslogtreecommitdiffstats
path: root/tests/unixEmbed.test
diff options
context:
space:
mode:
authorculler <culler>2020-07-31 21:10:41 (GMT)
committerculler <culler>2020-07-31 21:10:41 (GMT)
commite6d961299e585273d99aa80444ad9237449c512a (patch)
treee662c28aa3bbfc2ce1919115011d9d3e4dbb4091 /tests/unixEmbed.test
parent76f6c8ed20f1b31eb53111b9ad3363f3998c271c (diff)
downloadtk-e6d961299e585273d99aa80444ad9237449c512a.zip
tk-e6d961299e585273d99aa80444ad9237449c512a.tar.gz
tk-e6d961299e585273d99aa80444ad9237449c512a.tar.bz2
Adjust some unixEmbed tests which were failing sporadically.
Diffstat (limited to 'tests/unixEmbed.test')
-rw-r--r--tests/unixEmbed.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unixEmbed.test b/tests/unixEmbed.test
index 2ebf9c2..428e510 100644
--- a/tests/unixEmbed.test
+++ b/tests/unixEmbed.test
@@ -1238,13 +1238,12 @@ test unixEmbed-10.1 {geometry propagation in tkUnixWm.c/UpdateGeometryInfo} -con
deleteWindows
} -body {
frame .f1 -container 1 -width 200 -height 50
- update
pack .f1
- update
+ update idletasks
toplevel .t1 -use [winfo id .f1] -width 150 -height 80
- update
+ update idletasks
wm geometry .t1 +40+50
- update
+ update idletasks
wm geometry .t1
} -cleanup {
deleteWindows
@@ -1256,10 +1255,11 @@ test unixEmbed-10.2 {geometry propagation in tkUnixWm.c/UpdateGeometryInfo} -con
} -body {
frame .f1 -container 1 -width 200 -height 50
pack .f1
+ update idletasks
toplevel .t1 -use [winfo id .f1] -width 150 -height 80
- update
+ update idletasks
wm geometry .t1 70x300+10+20
- update
+ update idletasks
wm geometry .t1
} -cleanup {
deleteWindows