summaryrefslogtreecommitdiffstats
path: root/tests/all.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/all.tcl')
-rw-r--r--tests/all.tcl21
1 files changed, 9 insertions, 12 deletions
diff --git a/tests/all.tcl b/tests/all.tcl
index 3faa12a..69a16ba 100644
--- a/tests/all.tcl
+++ b/tests/all.tcl
@@ -9,17 +9,14 @@
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-#
-# RCS: @(#) $Id: all.tcl,v 1.16 2002/04/10 19:57:15 hobbs Exp $
-set tcltestVersion [package require tcltest]
-namespace import -force tcltest::*
-
-if {$tcl_platform(platform) == "macintosh"} {
- tcltest::singleProcess 1
+package prefer latest
+package require Tcl 8.5-
+package require tcltest 2.2
+namespace import tcltest::*
+configure {*}$argv -testdir [file dir [info script]]
+if {[singleProcess]} {
+ interp debug {} -frame 1
}
-
-tcltest::testsDirectory [file dir [info script]]
-tcltest::runAllTests
-
-return
+runAllTests
+proc exit args {}