summaryrefslogtreecommitdiffstats
path: root/tests/winfo.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-23 10:33:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-23 10:33:56 (GMT)
commit88a38acd049b4cef382444545c2e48764f4a43e3 (patch)
treec034856c595242f23cb91f8aeb0156e618c2111f /tests/winfo.test
parentae1b79d466c7d533c3bb7722d7e19860461055fa (diff)
downloadtk-88a38acd049b4cef382444545c2e48764f4a43e3.zip
tk-88a38acd049b4cef382444545c2e48764f4a43e3.tar.gz
tk-88a38acd049b4cef382444545c2e48764f4a43e3.tar.bz2
Mark many testcases with "failsOnUbuntu" (Not all, I still want to see the remainings failing)
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 50decf5..b393b1a 100644
--- a/tests/winfo.test
+++ b/tests/winfo.test
@@ -35,6 +35,8 @@ proc eatColors {w {options ""}} {
update
}
+testConstraint failsOnUbuntu [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match linux $::env(TRAVIS_OS_NAME)]}]
+
# XXX - This test file is woefully incomplete. At present, only a
# few of the winfo options are tested.
@@ -218,7 +220,7 @@ test winfo-9.2 {"winfo viewable" command} {
test winfo-9.3 {"winfo viewable" command} {
winfo viewable .
} {1}
-test winfo-9.4 {"winfo viewable" command} {
+test winfo-9.4 {"winfo viewable" command} failsOnUbuntu {
wm iconify .
winfo viewable .
} {0}
@@ -239,7 +241,7 @@ test winfo-9.6 {"winfo viewable" command} {
update
list [winfo viewable .f1] [winfo viewable .f1.f2]
} {0 0}
-test winfo-9.7 {"winfo viewable" command} {
+test winfo-9.7 {"winfo viewable" command} failsOnUbuntu {
deleteWindows
frame .f1 -width 100 -height 100 -relief raised -bd 2
place .f1 -x 0 -y 0