summaryrefslogtreecommitdiffstats
path: root/tests/image.test
diff options
context:
space:
mode:
authorculler <culler>2018-11-13 23:35:05 (GMT)
committerculler <culler>2018-11-13 23:35:05 (GMT)
commitf84c9c8b0bf0acfdb54373ce1cf565c9d83210cc (patch)
tree9380c16dca7af92cc5404c2634e128db27a9db58 /tests/image.test
parent812accf5f262bf522196e67e9b1ae823d1626bd2 (diff)
downloadtk-f84c9c8b0bf0acfdb54373ce1cf565c9d83210cc.zip
tk-f84c9c8b0bf0acfdb54373ce1cf565c9d83210cc.tar.gz
tk-f84c9c8b0bf0acfdb54373ce1cf565c9d83210cc.tar.bz2
Adding update commands in the setup section fixes sporadic test failures
in image.test and canvImg.test.
Diffstat (limited to 'tests/image.test')
-rw-r--r--tests/image.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/image.test b/tests/image.test
index e2e602e..d4ea745 100644
--- a/tests/image.test
+++ b/tests/image.test
@@ -349,6 +349,7 @@ test image-8.1 {Tk_ImageCmd procedure, "inuse" option} -constraints {
test image-9.1 {Tk_ImageChanged procedure} -constraints testImageType -setup {
.c delete all
imageCleanup
+ update
} -body {
image create test foo -variable x
.c create image 50 50 -image foo
@@ -364,6 +365,7 @@ test image-9.1 {Tk_ImageChanged procedure} -constraints testImageType -setup {
test image-9.2 {Tk_ImageChanged procedure} -constraints testImageType -setup {
.c delete all
imageCleanup
+ update
} -body {
image create test foo -variable x
.c create image 50 50 -image foo