diff options
author | das <das> | 2007-05-09 12:52:44 (GMT) |
---|---|---|
committer | das <das> | 2007-05-09 12:52:44 (GMT) |
commit | b7ca14476921fec908be93647b91fe3947b5f824 (patch) | |
tree | 6eda67904dbf0cfa0837f683cac25285710656c5 /tests/constraints.tcl | |
parent | e34afd70d21dec5f26e8f60db0ea38ff755af2d3 (diff) | |
download | tk-b7ca14476921fec908be93647b91fe3947b5f824.zip tk-b7ca14476921fec908be93647b91fe3947b5f824.tar.gz tk-b7ca14476921fec908be93647b91fe3947b5f824.tar.bz2 |
* tests/constraints.tcl: ensure 'nonUnixUserInteraction' constraint is
set for aqua.
* tests/choosedir.test: add 'notAqua' constraints to X11-only tests;
* tests/clrpick.test: add 'nonUnixUserInteraction' to 'unix' tests
* tests/menuDraw.test: requiring interaction on aqua.
* tests/unixMenu.test:
* tests/unixWm.test:
* tests/winMenu.test:
Diffstat (limited to 'tests/constraints.tcl')
-rw-r--r-- | tests/constraints.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/constraints.tcl b/tests/constraints.tcl index 3b786d9..a3a6af3 100644 --- a/tests/constraints.tcl +++ b/tests/constraints.tcl @@ -148,7 +148,8 @@ testConstraint notAqua [expr {[tk windowingsystem] ne "aqua"}] testConstraint aqua [expr {[tk windowingsystem] eq "aqua"}] testConstraint userInteraction 0 testConstraint nonUnixUserInteraction [expr { - [testConstraint userInteraction] || [testConstraint unix] + [testConstraint userInteraction] || + ([testConstraint unix] && [testConstraint notAqua]) }] testConstraint haveDISPLAY [info exists env(DISPLAY)] testConstraint altDisplay [info exists env(TK_ALT_DISPLAY)] |