summaryrefslogtreecommitdiffstats
path: root/tests/id.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/id.test')
-rw-r--r--tests/id.test22
1 files changed, 3 insertions, 19 deletions
diff --git a/tests/id.test b/tests/id.test
index 670f27f..de0d965 100644
--- a/tests/id.test
+++ b/tests/id.test
@@ -7,13 +7,10 @@
# All rights reserved.
package require tcltest 2.1
-namespace import -force tcltest::configure
-namespace import -force tcltest::testsDirectory
-configure -testdir [file join [pwd] [file dirname [info script]]]
-configure -loadfile [file join [testsDirectory] constraints.tcl]
+eval tcltest::configure $argv
tcltest::loadTestedCommands
-test id-1.1 {WindowIdCleanup, delaying window release} {unixOnly testwrapper} {
+test id-1.1 {WindowIdCleanup, delaying window release} {unix testwrapper} {
bind all <Destroy> {lappend x %W}
catch {unset map}
frame .f
@@ -90,18 +87,5 @@ test id-1.1 {WindowIdCleanup, delaying window release} {unixOnly testwrapper} {
bind all <Destroy> {}
# cleanup
-::tcltest::cleanupTests
+cleanupTests
return
-
-
-
-
-
-
-
-
-
-
-
-
-