summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordas <das>2008-12-29 16:29:43 (GMT)
committerdas <das>2008-12-29 16:29:43 (GMT)
commit38710d3cb5e367a2570e751f44ccf283dd524149 (patch)
treee600b26542482f2bd14c816abfb79a200f8368f0 /tests
parent0bef2ed4862e1471d93ca4b8afc842ba3bf281b2 (diff)
downloadtk-38710d3cb5e367a2570e751f44ccf283dd524149.zip
tk-38710d3cb5e367a2570e751f44ccf283dd524149.tar.gz
tk-38710d3cb5e367a2570e751f44ccf283dd524149.tar.bz2
window-2.9 deadlocks threaded Tk [Bug 1715716], add constraint
Diffstat (limited to 'tests')
-rw-r--r--tests/window.test11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/window.test b/tests/window.test
index e5b10f6..981ba39b 100644
--- a/tests/window.test
+++ b/tests/window.test
@@ -5,14 +5,16 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: window.test,v 1.13 2008/08/30 21:52:26 aniap Exp $
+# RCS: @(#) $Id: window.test,v 1.14 2008/12/29 16:29:43 das Exp $
package require tcltest 2.2
namespace import ::tcltest::*
tcltest::configure {*}$argv
tcltest::loadTestedCommands
+testConstraint unthreaded [expr {
+ (![info exist tcl_platform(threaded)] || !$tcl_platform(threaded))
+}]
namespace import ::tk::test::loadTkCommand
-
update
# XXX This file is woefully incomplete. Right now it only tests
@@ -192,8 +194,9 @@ test window-2.8 {Tk_DestroyWindow, cleanup half dead windows at exit} -constrain
list $error $msg
} -result {0 {}}
+# window-2.9 deadlocks threaded Tk [Bug 1715716]
test window-2.9 {Tk_DestroyWindow, Destroy bindings evaluated after exit} -constraints {
- unixOrWin
+ unixOrWin unthreaded
} -body {
set code [loadTkCommand]
append code {
@@ -351,4 +354,4 @@ return
# Local variables:
# mode: tcl
-# End: \ No newline at end of file
+# End: