diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-08 19:26:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-08 19:26:29 (GMT) |
commit | 6a8d296df3061825d119fbc1561e7222953ac3ba (patch) | |
tree | f3d8405612688d845b2db5b9b16867dc91579f72 /tests/select.test | |
parent | 723b4258800e248dad36092b2f9a27ca2ec9afa6 (diff) | |
parent | 5bdd278d66f4ea89994c76013f0e52f7662f1cc4 (diff) | |
download | tk-6a8d296df3061825d119fbc1561e7222953ac3ba.zip tk-6a8d296df3061825d119fbc1561e7222953ac3ba.tar.gz tk-6a8d296df3061825d119fbc1561e7222953ac3ba.tar.bz2 |
Merge trunk
Diffstat (limited to 'tests/select.test')
-rw-r--r-- | tests/select.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/select.test b/tests/select.test index 8d1b740..bc04ead 100644 --- a/tests/select.test +++ b/tests/select.test @@ -23,6 +23,7 @@ if {![catch {selection get -selection CLIPBOARD_MANAGER -type TARGETS}]} { testConstraint cliboardManagerPresent 1 } } +testConstraint failsOnUbuntu [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match linux $::env(TRAVIS_OS_NAME)]}] global longValue selValue selInfo @@ -908,7 +909,7 @@ test select-9.2 {SelCvtToX and SelCvtFromX procedures} -setup { test select-9.3 {SelCvtToX and SelCvtFromX procedures} -setup { setup setupbg -} -constraints x11 -body { +} -constraints {x11 failsOnUbuntu} -body { set selValue " " set selInfo "" selection handle -selection PRIMARY -format INTEGER -type TEST \ @@ -1036,7 +1037,7 @@ test select-10.5 {ConvertSelection procedure, reentrancy issues} -constraints { lappend result $selInfo } -result {{PRIMARY selection doesn't exist or form "STRING" not defined} {.f1 STRING 0 4000}} test select-10.6 {ConvertSelection procedure, reentrancy issues} -constraints { - x11 + x11 failsOnUbuntu } -setup { setup setupbg |