diff options
author | hobbs <hobbs@noemail.net> | 1999-12-04 06:16:48 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 1999-12-04 06:16:48 (GMT) |
commit | 0762eedcad270b926426400ad8da43274e588b59 (patch) | |
tree | de4d563d31e6b705edb459823af308d53d953c2b /tests/all.tcl | |
parent | 4b9edb852de46f27fc6906222c2514be594e204e (diff) | |
download | tcl-0762eedcad270b926426400ad8da43274e588b59.zip tcl-0762eedcad270b926426400ad8da43274e588b59.tar.gz tcl-0762eedcad270b926426400ad8da43274e588b59.tar.bz2 |
* tests/env.test: removed knownBug limitation from working test
* tests/all.tcl: ensured that ::tcltest::testsDirectory would be
set to an absolute path
* tests/expr-old.test:
* tests/parseExpr.test:
* tests/string.test:
* generic/tclGet.c:
* generic/tclInt.h:
* generic/tclObj.c:
* generic/tclParseExpr.c:
* generic/tclUtil.c:
* generic/tclExecute.c: added TclCheckBadOctal routine to enhance
error message checking for when users use invalid octal numbers
(like 08), as well as replumbed the Expr*Funcs with a new
VerifyExprObjType to simplify type handling.
FossilOrigin-Name: 7b710149dc55805b40af645d646ee7ae9ad44ea9
Diffstat (limited to 'tests/all.tcl')
-rw-r--r-- | tests/all.tcl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/all.tcl b/tests/all.tcl index b4d132d..1b13adb 100644 --- a/tests/all.tcl +++ b/tests/all.tcl @@ -7,7 +7,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: all.tcl,v 1.7 1999/06/29 20:14:17 jenn Exp $ +# RCS: @(#) $Id: all.tcl,v 1.8 1999/12/04 06:16:48 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -17,6 +17,16 @@ if {[lsearch [namespace children] ::tcltest] == -1} { set ::tcltest::testSingleFile false set ::tcltest::testsDirectory [file dir [info script]] +# We need to ensure that the testsDirectory is absolute +# +if {[string equal relative [file pathtype $::tcltest::testsDirectory]]} { + set cwd [pwd] + cd $::tcltest::testsDirectory + set ::tcltest::testsDirectory [pwd] + cd $cwd + unset cwd +} + puts stdout "Tcl $tcl_patchLevel tests running in interp: [info nameofexecutable]" puts stdout "Tests running in working dir: $::tcltest::testsDirectory" if {[llength $::tcltest::skip] > 0} { |