summaryrefslogtreecommitdiffstats
path: root/tests/util.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util.test')
-rw-r--r--tests/util.test20
1 files changed, 2 insertions, 18 deletions
diff --git a/tests/util.test b/tests/util.test
index 66ce26f..86271c5 100644
--- a/tests/util.test
+++ b/tests/util.test
@@ -7,10 +7,7 @@
# 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
listbox .l -width 20 -height 5 -relief sunken -bd 2
@@ -65,18 +62,5 @@ test util-1.12 {Tk_GetScrollInfo procedure} {
} {1 {unknown option "dropdead": must be moveto or scroll}}
# cleanup
-::tcltest::cleanupTests
+cleanupTests
return
-
-
-
-
-
-
-
-
-
-
-
-
-