summaryrefslogtreecommitdiffstats
path: root/tests/config.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/config.test')
-rw-r--r--tests/config.test9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/config.test b/tests/config.test
index 1f19ee6..0d1e0e1 100644
--- a/tests/config.test
+++ b/tests/config.test
@@ -7,14 +7,9 @@
# 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
-testConstraint testobjconfig [llength [info commands testobjconfig]]
-
proc killTables {} {
# Note: it's important to delete chain2 before chain1, because
# chain2 depends on chain1. If chain1 is deleted first, the
@@ -891,5 +886,5 @@ deleteWindows
if {[testConstraint testobjconfig]} {
killTables
}
-::tcltest::cleanupTests
+cleanupTests
return