summaryrefslogtreecommitdiffstats
path: root/tests/canvImg.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/canvImg.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/canvImg.test')
-rw-r--r--tests/canvImg.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/canvImg.test b/tests/canvImg.test
index a609337..ea413bb 100644
--- a/tests/canvImg.test
+++ b/tests/canvImg.test
@@ -722,6 +722,7 @@ test canvImg-9.1 {DisplayImage procedure} -constraints testImageType -setup {
test canvImg-10.1 {TranslateImage procedure} -constraints testImageType -setup {
.c delete all
+ update
} -body {
image create test foo -variable x
.c create image 50 100 -image foo -tags image -anchor nw
@@ -737,6 +738,7 @@ test canvImg-10.1 {TranslateImage procedure} -constraints testImageType -setup {
test canvImg-11.1 {TranslateImage procedure} -constraints testImageType -setup {
.c delete all
+ update
} -body {
image create test foo -variable x
.c create image 50 100 -image foo -tags image -anchor nw
@@ -768,6 +770,7 @@ test canvImg-11.3 {ImageChangedProc procedure} -constraints {
testImageType
} -setup {
.c delete all
+ update
} -body {
image create test foo -variable x
image create test foo2 -variable y