summaryrefslogtreecommitdiffstats
path: root/tests/winfo.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-29 10:05:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-29 10:05:00 (GMT)
commita22fd911c4fcdbc6c92423c582245a607610456c (patch)
tree4708f13cbf20eabf5ad8a9557b49f88ec735df5b /tests/winfo.test
parentbee15f4a247d30e3e4376247df154803efecf42c (diff)
downloadtk-a22fd911c4fcdbc6c92423c582245a607610456c.zip
tk-a22fd911c4fcdbc6c92423c582245a607610456c.tar.gz
tk-a22fd911c4fcdbc6c92423c582245a607610456c.tar.bz2
Mark more test-cases with "failsOnUbuntu"
Diffstat (limited to 'tests/winfo.test')
-rw-r--r--tests/winfo.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/winfo.test b/tests/winfo.test
index 49a92a6..51be80d 100644
--- a/tests/winfo.test
+++ b/tests/winfo.test
@@ -11,6 +11,8 @@ namespace import ::tcltest::*
tcltest::configure {*}$argv
tcltest::loadTestedCommands
+testConstraint failsOnUbuntu [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match linux $::env(TRAVIS_OS_NAME)]}]
+
# eatColors --
# Creates a toplevel window and allocates enough colors in it to
# use up all the slots in the colormap.
@@ -291,7 +293,7 @@ test winfo-9.2 {"winfo viewable" command} -body {
test winfo-9.3 {"winfo viewable" command} -body {
winfo viewable .
} -result {1}
-test winfo-9.4 {"winfo viewable" command} -body {
+test winfo-9.4 {"winfo viewable" command} -constraints failsOnUbuntu -body {
wm iconify .
winfo viewable .
} -cleanup {
@@ -320,7 +322,7 @@ test winfo-9.6 {"winfo viewable" command} -setup {
} -cleanup {
deleteWindows
} -result {0 0}
-test winfo-9.7 {"winfo viewable" command} -setup {
+test winfo-9.7 {"winfo viewable" command} -constraints failsOnUbuntu -setup {
deleteWindows
} -body {
frame .f1 -width 100 -height 100 -relief raised -bd 2