summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-03 00:18:19 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-03 00:18:19 (GMT)
commitb71d89c8e8d3742ef3d55b59e249b74672c68575 (patch)
treec38ce703a407dfb17883aa4ee1432d48d55ab531
parent892f8aa8caa8bcd31d2df297e29b6ffe2013f2ad (diff)
downloadtk-b71d89c8e8d3742ef3d55b59e249b74672c68575.zip
tk-b71d89c8e8d3742ef3d55b59e249b74672c68575.tar.gz
tk-b71d89c8e8d3742ef3d55b59e249b74672c68575.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 3af8fe4..bcb0a5d 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 1659c58..25caf35 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.24 2009/12/30 00:24:27 patthoyts Exp $
+# RCS: @(#) $Id: menu.test,v 1.25 2010/01/03 00:18:19 patthoyts Exp $
package require tcltest 2.2
namespace import ::tcltest::*
@@ -3314,7 +3314,7 @@ test menu-22.2 {GetIndexFromCoords} -setup {
} -result {0}
test menu-22.3 {GetIndexFromCoords: mapped window, y only} -setup {
deleteWindows
-} -body {
+} -constraints {unix} -body {
menu .m1
.m1 add command -label "test"
.m1 configure -tearoff 0
@@ -3326,7 +3326,7 @@ test menu-22.3 {GetIndexFromCoords: mapped window, y only} -setup {
} -result {0}
test menu-22.4 {GetIndexFromCoords: mapped window x,y} -setup {
deleteWindows
-} -body {
+} -constraints {unix} -body {
menu .m1
.m1 add command -label "test"
.m1 configure -tearoff 0
@@ -3340,7 +3340,7 @@ test menu-22.4 {GetIndexFromCoords: mapped window x,y} -setup {
} -result {0}
test menu-22.5 {GetIndexFromCoords: mapped wide window} -setup {
deleteWindows
-} -body {
+} -constraints {unix} -body {
menu .m1
.m1 add command -label "test"
.m1 configure -tearoff 0