summaryrefslogtreecommitdiffstats
path: root/tests/tk.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tk.test')
-rw-r--r--tests/tk.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tk.test b/tests/tk.test
index 6a9d1e9..f424c77 100644
--- a/tests/tk.test
+++ b/tests/tk.test
@@ -11,6 +11,7 @@ tcltest::loadTestedCommands
namespace import -force tcltest::test
testConstraint testprintf [llength [info command testprintf]]
+testConstraint failsOnXQuarz [expr {$tcl_platform(os) ne "Darwin" || [tk windowingsystem] ne "x11" }]
test tk-1.1 {tk command: general} -body {
tk
@@ -154,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} -body {
+test tk-6.5 {tk inactive} -constraints failsOnXQuarz -body {
tk inactive reset
update
after 100