diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-08 15:22:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-08 15:22:22 (GMT) |
commit | 10bca5a542048ae2e11701980f2997e26ce28433 (patch) | |
tree | 6866bd045d066377fbf311b0cb475d3356ddf6b6 /tests/place.test | |
parent | c336694fdeda262cf81195e421a91ea40b1101a6 (diff) | |
download | tk-10bca5a542048ae2e11701980f2997e26ce28433.zip tk-10bca5a542048ae2e11701980f2997e26ce28433.tar.gz tk-10bca5a542048ae2e11701980f2997e26ce28433.tar.bz2 |
Mark all test-cases failing on XQuarz with constraint "failsOnXQuarz"
Diffstat (limited to 'tests/place.test')
-rw-r--r-- | tests/place.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/place.test b/tests/place.test index 840ffca..9408b72 100644 --- a/tests/place.test +++ b/tests/place.test @@ -14,6 +14,7 @@ tcltest::loadTestedCommands testConstraint memory [llength [info commands memory]] testConstraint failsOnUbuntu [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match linux $::env(TRAVIS_OS_NAME)]}] +testConstraint failsOnXQuarz [expr {$tcl_platform(os) ne "Darwin" || [tk windowingsystem] ne "x11" }] # XXX - This test file is woefully incomplete. At present, only a # few of the features are tested. @@ -269,7 +270,7 @@ if {[tk windowingsystem] == "win32"} { } } -test place-8.1 {PlaceStructureProc, mapping and unmapping content} -constraints failsOnUbuntu -setup { +test place-8.1 {PlaceStructureProc, mapping and unmapping content} -constraints {failsOnUbuntu failsOnXQuarz} -setup { place forget .t.f2 place forget .t.f } -body { @@ -285,7 +286,7 @@ test place-8.1 {PlaceStructureProc, mapping and unmapping content} -constraints placeUpdate lappend result [winfo ismapped .t.f2] } -result {1 0 40 30 0 1} -test place-8.2 {PlaceStructureProc, mapping and unmapping content} -constraints failsOnUbuntu -setup { +test place-8.2 {PlaceStructureProc, mapping and unmapping content} -constraints {failsOnUbuntu failsOnXQuarz} -setup { place forget .t.f2 place forget .t.f update idletasks |