summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordas <das>2008-12-29 16:29:52 (GMT)
committerdas <das>2008-12-29 16:29:52 (GMT)
commitbe03d132320bee746ee0e9bb94bbf50ba48f8f0f (patch)
tree3fd8e30d80f260efc838c3352cdf809638644d2d /tests
parent888706493acf7d3efe5b9a332f54332d51811d72 (diff)
downloadtk-be03d132320bee746ee0e9bb94bbf50ba48f8f0f.zip
tk-be03d132320bee746ee0e9bb94bbf50ba48f8f0f.tar.gz
tk-be03d132320bee746ee0e9bb94bbf50ba48f8f0f.tar.bz2
window-2.9 deadlocks threaded Tk [Bug 1715716], add constraint
Diffstat (limited to 'tests')
-rw-r--r--tests/window.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/window.test b/tests/window.test
index 6d5d9aa..efe7876 100644
--- a/tests/window.test
+++ b/tests/window.test
@@ -5,12 +5,14 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: window.test,v 1.12 2004/06/24 12:45:44 dkf Exp $
+# RCS: @(#) $Id: window.test,v 1.12.4.1 2008/12/29 16:29:52 das Exp $
package require tcltest 2.1
eval tcltest::configure $argv
tcltest::loadTestedCommands
-
+testConstraint unthreaded [expr {
+ (![info exist tcl_platform(threaded)] || !$tcl_platform(threaded))
+}]
namespace import -force ::tk::test::loadTkCommand
update
@@ -174,8 +176,9 @@ test window-2.8 {Tk_DestroyWindow, cleanup half dead windows at exit} \
list $error $msg
} {0 {}}
+# window-2.9 deadlocks threaded Tk [Bug 1715716]
test window-2.9 {Tk_DestroyWindow, Destroy bindings
- evaluated after exit} unixOrWin {
+ evaluated after exit} {unixOrWin unthreaded} {
set code [loadTkCommand]
append code {
toplevel .t1