summaryrefslogtreecommitdiffstats
path: root/tests/tk.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-15 11:46:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-15 11:46:13 (GMT)
commit311812328b789a5546a79cbb62a73ce5e3a83c82 (patch)
treecb68663421b35b5dcda19daca16e699dc9924dfe /tests/tk.test
parent4d40a829a939527fa2bcdb95edcc339d6419ff44 (diff)
parentc5e2b9248f392b466707ad994ac21756a5208532 (diff)
downloadtk-311812328b789a5546a79cbb62a73ce5e3a83c82.zip
tk-311812328b789a5546a79cbb62a73ce5e3a83c82.tar.gz
tk-311812328b789a5546a79cbb62a73ce5e3a83c82.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/tk.test')
-rw-r--r--tests/tk.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tk.test b/tests/tk.test
index de738ef..f424c77 100644
--- a/tests/tk.test
+++ b/tests/tk.test
@@ -11,7 +11,7 @@ tcltest::loadTestedCommands
namespace import -force tcltest::test
testConstraint testprintf [llength [info command testprintf]]
-testConstraint failsOnQuarz [expr {![info exists ::env(MAC_CI)]}]
+testConstraint failsOnXQuarz [expr {$tcl_platform(os) ne "Darwin" || [tk windowingsystem] ne "x11" }]
test tk-1.1 {tk command: general} -body {
tk
@@ -155,7 +155,7 @@ test tk-6.3 {tk inactive wrong argument} -body {
test tk-6.4 {tk inactive too many arguments} -body {
tk inactive reset foo
} -returnCodes 1 -result {wrong # args: should be "tk inactive ?-displayof window? ?reset?"}
-test tk-6.5 {tk inactive} -constraints failsOnQuarz -body {
+test tk-6.5 {tk inactive} -constraints failsOnXQuarz -body {
tk inactive reset
update
after 100