diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-28 08:39:06 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-28 08:39:06 (GMT) |
commit | fb70befc9912dfd473e5146838b44663f1273eaf (patch) | |
tree | d82b59d8f8ac549b1d4ef6433031986c9e0f37bf /tests/pack.test | |
parent | 2c5ed5a8b7862f313354be0a3a3d79e12641e118 (diff) | |
parent | be873bf63eba1e99003bacf0b8214da688462985 (diff) | |
download | tk-fb70befc9912dfd473e5146838b44663f1273eaf.zip tk-fb70befc9912dfd473e5146838b44663f1273eaf.tar.gz tk-fb70befc9912dfd473e5146838b44663f1273eaf.tar.bz2 |
Merge 8.6
Diffstat (limited to 'tests/pack.test')
-rw-r--r-- | tests/pack.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/pack.test b/tests/pack.test index 5c919ed..02008c7 100644 --- a/tests/pack.test +++ b/tests/pack.test @@ -11,6 +11,7 @@ eval tcltest::configure $argv tcltest::loadTestedCommands namespace import -force tcltest::test +testConstraint failsOnUbuntu [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match linux $::env(TRAVIS_OS_NAME)]}] # Create some test windows. @@ -1542,7 +1543,7 @@ if {[tk windowingsystem] == "win32"} { } test pack-18.1 {unmap content when container unmapped} -constraints { - tempNotPc + tempNotPc failsOnUbuntu } -setup { eval destroy [winfo child .pack] } -body { @@ -1572,7 +1573,7 @@ test pack-18.1 {unmap content when container unmapped} -constraints { lappend result [winfo ismapped .pack.a] } -result {1 0 200 75 0 1} -test pack-18.2 {unmap content when container unmapped} -setup { +test pack-18.2 {unmap content when container unmapped} -constraints failsOnUbuntu -setup { eval destroy [winfo child .pack] } -body { # adjust the position of .pack before test to avoid a screen switch |