diff options
author | das <das> | 2008-12-29 16:29:43 (GMT) |
---|---|---|
committer | das <das> | 2008-12-29 16:29:43 (GMT) |
commit | 4db06d8c0881d7bacf42c7162ee4e48df293d2df (patch) | |
tree | e600b26542482f2bd14c816abfb79a200f8368f0 /tests | |
parent | 208d73d2bd5f2572f5094c693a6194388ee7409a (diff) | |
download | tk-4db06d8c0881d7bacf42c7162ee4e48df293d2df.zip tk-4db06d8c0881d7bacf42c7162ee4e48df293d2df.tar.gz tk-4db06d8c0881d7bacf42c7162ee4e48df293d2df.tar.bz2 |
window-2.9 deadlocks threaded Tk [Bug 1715716], add constraint
Diffstat (limited to 'tests')
-rw-r--r-- | tests/window.test | 11 |
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: |