summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2025-02-10 12:55:50 (GMT)
committersebres <sebres@users.sourceforge.net>2025-02-10 12:55:50 (GMT)
commit6a94bf652bc54d03924e178c2424dc91065a544a (patch)
tree3f315b7e6497d070f234d8b46d8e461bbca6e08f
parent7a01b1810c480bda6d9ee4548278f0c8e66b4ecd (diff)
downloadtcl-6a94bf652bc54d03924e178c2424dc91065a544a.zip
tcl-6a94bf652bc54d03924e178c2424dc91065a544a.tar.gz
tcl-6a94bf652bc54d03924e178c2424dc91065a544a.tar.bz2
cherry-pick [9b5c0dbbc296ad67]: tests/all.tcl: don't overwrite argument -testdir (may be supplied in args too)
-rw-r--r--tests/all.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/all.tcl b/tests/all.tcl
index 7d86640..715d1bf 100644
--- a/tests/all.tcl
+++ b/tests/all.tcl
@@ -13,7 +13,7 @@
package require Tcl 8.5
package require tcltest 2.5
namespace import tcltest::*
-configure {*}$argv -testdir [file dir [info script]]
+configure -testdir [file normalize [file dirname [info script]]] {*}$argv
set ErrorOnFailures [info exists env(ERROR_ON_FAILURES)]
unset -nocomplain env(ERROR_ON_FAILURES)
if {[runAllTests] && $ErrorOnFailures} {exit 1}