summaryrefslogtreecommitdiffstats
path: root/tests/all.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-25 20:39:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-25 20:39:31 (GMT)
commit3c26b9439d5c9a10bfac52bd5e96024b475e79fd (patch)
tree934c4fd78ce15f57b6ec976b70ce60caf450a63d /tests/all.tcl
parent6264f4978838b089748579e436d35b30a4e56201 (diff)
parentfdee46ab16b879589155729e6db4fdabe235880f (diff)
downloadtcl-3c26b9439d5c9a10bfac52bd5e96024b475e79fd.zip
tcl-3c26b9439d5c9a10bfac52bd5e96024b475e79fd.tar.gz
tcl-3c26b9439d5c9a10bfac52bd5e96024b475e79fd.tar.bz2
merge 8.7
Diffstat (limited to 'tests/all.tcl')
-rw-r--r--tests/all.tcl15
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/all.tcl b/tests/all.tcl
index ad372db..4fce323 100644
--- a/tests/all.tcl
+++ b/tests/all.tcl
@@ -13,19 +13,14 @@
package prefer latest
package require Tcl 8.5-
package require tcltest 2.2
-namespace import tcltest::*
-configure {*}$argv -testdir [file dir [info script]]
+namespace import -force ::tcltest::*
+
+configure {*}$argv -testdir [file dirname [file dirname [file normalize [
+ info script]/...]]]
+
if {[singleProcess]} {
interp debug {} -frame 1
}
-set testsdir [file dirname [file dirname [file normalize [info script]/...]]]
-lappend auto_path $testsdir {*}[apply {{testsdir args} {
- lmap x $args {
- if {$x eq $testsdir} continue
- lindex $x
- }
-}} $testsdir {*}$auto_path]
-
runAllTests
proc exit args {}