summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-03 00:42:02 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-03 00:42:02 (GMT)
commit0010253507df749733256958bf31b0762efdb544 (patch)
tree34b5a9814d60ed0c81f1345f883c6f486993c9c2
parentd87d27dacd4c8e09f7ee26c45ea2ac9219068626 (diff)
downloadtk-0010253507df749733256958bf31b0762efdb544.zip
tk-0010253507df749733256958bf31b0762efdb544.tar.gz
tk-0010253507df749733256958bf31b0762efdb544.tar.bz2
menu tests using 'tkwait visibility' are unix only
-rw-r--r--ChangeLog4
-rw-r--r--tests/menu.test8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index e15dc71..1c1de91 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-03 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * tests/menu.test: menu tests using 'tkwait visibility' are unix only
+
2010-01-02 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixEvent.c (TransferXEventsToTcl): [Bug 1924761]: Use the
diff --git a/tests/menu.test b/tests/menu.test
index 653bb82..a34171c 100644
--- a/tests/menu.test
+++ b/tests/menu.test
@@ -5,7 +5,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: menu.test,v 1.20.4.1 2009/12/30 00:29:38 patthoyts Exp $
+# RCS: @(#) $Id: menu.test,v 1.20.4.2 2010/01/03 00:42:02 patthoyts Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -2133,7 +2133,7 @@ test menu-22.2 {GetIndexFromCoords} {
.m1 configure -tearoff 0
list [catch {.m1 index @5,5} msg] $msg [destroy .m1]
} {0 0 {}}
-test menu-22.3 {GetIndexFromCoords: mapped window, y only} {
+test menu-22.3 {GetIndexFromCoords: mapped window, y only} unix {
catch {destroy .m1}
menu .m1
.m1 add command -label "test"
@@ -2142,7 +2142,7 @@ test menu-22.3 {GetIndexFromCoords: mapped window, y only} {
tkwait visibility .m1
list [catch {.m1 index @5} msg] $msg [destroy .m1]
} {0 0 {}}
-test menu-22.4 {GetIndexFromCoords: mapped window x,y} {
+test menu-22.4 {GetIndexFromCoords: mapped window x,y} unix {
catch {destroy .m1}
menu .m1
.m1 add command -label "test"
@@ -2153,7 +2153,7 @@ test menu-22.4 {GetIndexFromCoords: mapped window x,y} {
set x [expr {[winfo width .m1] - [.m1 cget -borderwidth] - 1}]
list [catch {.m1 index @$x,5} msg] $msg [destroy .m1]
} {0 0 {}}
-test menu-22.5 {GetIndexFromCoords: mapped wide window} {
+test menu-22.5 {GetIndexFromCoords: mapped wide window} unix {
catch {destroy .m1}
menu .m1
.m1 add command -label "test"