summaryrefslogtreecommitdiffstats
path: root/tests/pack.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-28 07:56:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-28 07:56:13 (GMT)
commitbe873bf63eba1e99003bacf0b8214da688462985 (patch)
treeeee8262fa53b3433ed5f112d6c18e93c5feec985 /tests/pack.test
parentb0ff53377869ccfb7928d389f7bd6fdeddaca3f3 (diff)
parent7cd7731a93610c00e44c811f86b7afd62e83b82e (diff)
downloadtk-be873bf63eba1e99003bacf0b8214da688462985.zip
tk-be873bf63eba1e99003bacf0b8214da688462985.tar.gz
tk-be873bf63eba1e99003bacf0b8214da688462985.tar.bz2
Merge 8.5. Update to Xcode12 and gcc-10. ttk test failures now lead to Travis build failures
Diffstat (limited to 'tests/pack.test')
-rw-r--r--tests/pack.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/pack.test b/tests/pack.test
index 4128c46..9fd8035 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.
@@ -1559,7 +1560,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 {
@@ -1590,7 +1591,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 {