summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-06-03 18:07:20 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-06-03 18:07:20 (GMT)
commit875697590e1066b3133c94d916e5ca4ca70e63bf (patch)
tree4fb8897a1fede8a519f5e88f050414a9ac3fd348 /tests
parent2dd83ab46b70e46cdb3ab9f1f4d2ecfa28d70325 (diff)
parent4c4aed41f6365a2197377d8d5a7a2676ebbe1090 (diff)
downloadtk-core_8_4_branch.zip
tk-core_8_4_branch.tar.gz
tk-core_8_4_branch.tar.bz2
merge releasecore_8_4_branch
Diffstat (limited to 'tests')
-rw-r--r--tests/window.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/window.test b/tests/window.test
index 8628c7a..f9b114a 100644
--- a/tests/window.test
+++ b/tests/window.test
@@ -11,9 +11,13 @@ namespace import -force tcltest::testsDirectory
namespace import -force tcltest::interpreter
namespace import -force tcltest::makeFile
namespace import -force tcltest::removeFile
+namespace import -force tcltest::testConstraint
configure -testdir [file join [pwd] [file dirname [info script]]]
configure -loadfile [file join [testsDirectory] constraints.tcl]
tcltest::loadTestedCommands
+testConstraint unthreaded [expr {
+ (![info exists tcl_platform(threaded)] || !$tcl_platform(threaded))
+}]
update
@@ -148,7 +152,7 @@ test window-2.8 {Tk_DestroyWindow, cleanup half dead windows at exit} \
} {0 {}}
test window-2.9 {Tk_DestroyWindow, Destroy bindings evaluated after exit} \
- unixOrWin {
+ {unixOrWin unthreaded} {
set script [makeFile {
toplevel .t1
toplevel .t2