summaryrefslogtreecommitdiffstats
path: root/tests/send.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/send.test')
-rw-r--r--tests/send.test8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/send.test b/tests/send.test
index 2614427..d3fce3b 100644
--- a/tests/send.test
+++ b/tests/send.test
@@ -11,14 +11,10 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
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 xhost [llength [auto_execok xhost]]
-testConstraint testsend [llength [info commands testsend]]
# Compute a script that will load Tk into a child interpreter.
@@ -624,5 +620,5 @@ catch {
rename newApp {}
# cleanup
-::tcltest::cleanupTests
+cleanupTests
return