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)
commitd5b4eae0beae4e5bf3da480bf6ec6ed0a7bb6999 (patch)
tree3fd8e30d80f260efc838c3352cdf809638644d2d /tests
parente96b8fc5fadfdc6ba0d439fdaffd6baacefd5d79 (diff)
downloadtk-d5b4eae0beae4e5bf3da480bf6ec6ed0a7bb6999.zip
tk-d5b4eae0beae4e5bf3da480bf6ec6ed0a7bb6999.tar.gz
tk-d5b4eae0beae4e5bf3da480bf6ec6ed0a7bb6999.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