summaryrefslogtreecommitdiffstats
path: root/tests/unixButton.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unixButton.test')
-rw-r--r--tests/unixButton.test7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/unixButton.test b/tests/unixButton.test
index 77c1112..a51e259 100644
--- a/tests/unixButton.test
+++ b/tests/unixButton.test
@@ -9,10 +9,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
# Create entries in the option database to be sure that geometry options
@@ -193,5 +190,5 @@ test unixbutton-2.1 {disabled coloring check, bug 669595} unix {
deleteWindows
# cleanup
-::tcltest::cleanupTests
+cleanupTests
return