summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorculler <culler>2019-04-25 18:17:19 (GMT)
committerculler <culler>2019-04-25 18:17:19 (GMT)
commitfc70ea23bb22e02bcc1d7a15f5e30df28044d244 (patch)
tree8f9c331106b1aebf50aaee4784e25ef2ab915a82 /tests
parent9a2648b9e8ec3d6a0b61cc184f2906cc0c3c79ab (diff)
parent70af19ebc9a255f667aa2a143a8f57fe2576a2e4 (diff)
downloadtk-fc70ea23bb22e02bcc1d7a15f5e30df28044d244.zip
tk-fc70ea23bb22e02bcc1d7a15f5e30df28044d244.tar.gz
tk-fc70ea23bb22e02bcc1d7a15f5e30df28044d244.tar.bz2
Fix textWind.test: make sure that the test window is mapped before running tests (needed on macOS).
Diffstat (limited to 'tests')
-rw-r--r--tests/textWind.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index e189663..788c245 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -39,6 +39,11 @@ wm minsize . 1 1
wm positionfrom . user
wm deiconify .
+# This update is needed on MacOS to make sure that the window is mapped
+# when the tests begin.
+
+update
+
set bw [.t cget -borderwidth]
set px [.t cget -padx]
set py [.t cget -pady]