summaryrefslogtreecommitdiffstats
path: root/tests/constraints.tcl
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-07 15:26:07 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-07 15:26:07 (GMT)
commit5be70aeb76c7c6ba94c9288632ddf1c094108f0e (patch)
tree948b157f22cb5311dffce5a75dd4494967e003be /tests/constraints.tcl
parent07c65ee9c99b263ed8b6aefb42c7c5f6e47a441e (diff)
parent2aa8148b1c0d4bfd43195800910c9c6eec0ec8a2 (diff)
downloadtk-5be70aeb76c7c6ba94c9288632ddf1c094108f0e.zip
tk-5be70aeb76c7c6ba94c9288632ddf1c094108f0e.tar.gz
tk-5be70aeb76c7c6ba94c9288632ddf1c094108f0e.tar.bz2
Merge core-8-6-branch
Diffstat (limited to 'tests/constraints.tcl')
-rw-r--r--tests/constraints.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/constraints.tcl b/tests/constraints.tcl
index e0486ff..a87499d 100644
--- a/tests/constraints.tcl
+++ b/tests/constraints.tcl
@@ -180,7 +180,11 @@ namespace import -force tk::test::*
namespace import -force tcltest::testConstraint
testConstraint notAqua [expr {[tk windowingsystem] ne "aqua"}]
testConstraint aqua [expr {[tk windowingsystem] eq "aqua"}]
+testConstraint x11 [expr {[tk windowingsystem] eq "x11"}]
testConstraint nonwin [expr {[tk windowingsystem] ne "win32"}]
+testConstraint aquaOrWin32 [expr {
+ ([tk windowingsystem] eq "win32") || [testConstraint aqua]
+}]
testConstraint userInteraction 0
testConstraint nonUnixUserInteraction [expr {
[testConstraint userInteraction] ||