diff options
author | fvogel <fvogelnew1@free.fr> | 2017-01-07 15:18:16 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-01-07 15:18:16 (GMT) |
commit | 2aa8148b1c0d4bfd43195800910c9c6eec0ec8a2 (patch) | |
tree | 517e948cbfa0afd6352eacb78d9c1909451da877 /tests/constraints.tcl | |
parent | 9f76636345a893b9bfe045dbf40de723fb29a011 (diff) | |
parent | c20a3010587a7f5b2488d01ec10021f70eb92a8b (diff) | |
download | tk-2aa8148b1c0d4bfd43195800910c9c6eec0ec8a2.zip tk-2aa8148b1c0d4bfd43195800910c9c6eec0ec8a2.tar.gz tk-2aa8148b1c0d4bfd43195800910c9c6eec0ec8a2.tar.bz2 |
Fix [c12af74765]: OS X - text-21.1 fails
Diffstat (limited to 'tests/constraints.tcl')
-rw-r--r-- | tests/constraints.tcl | 4 |
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] || |