diff options
author | dgp <dgp@users.sourceforge.net> | 2004-10-30 02:16:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-10-30 02:16:51 (GMT) |
commit | d90e8072f547d5c90ca14de82a3b9897afe7ed9a (patch) | |
tree | 0acd2b0631219ef7c026613ce0365b573e5b5fac /library/tcltest/tcltest.tcl | |
parent | f21fa0e01c0fb463b0ec26f3b0cef1218243908a (diff) | |
download | tcl-d90e8072f547d5c90ca14de82a3b9897afe7ed9a.zip tcl-d90e8072f547d5c90ca14de82a3b9897afe7ed9a.tar.gz tcl-d90e8072f547d5c90ca14de82a3b9897afe7ed9a.tar.bz2 |
* library/tcltest/tcltest.tcl: Correct reaction to errors in the
obsolete processCmdLineArgsHook. [Bug 1055673]
* library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.7
* unix/Makefile.in:
* tests/all.tcl: Update to use [tcltest::configure].
Diffstat (limited to 'library/tcltest/tcltest.tcl')
-rw-r--r-- | library/tcltest/tcltest.tcl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index 692f0f1..0e01828 100644 --- a/library/tcltest/tcltest.tcl +++ b/library/tcltest/tcltest.tcl @@ -16,7 +16,7 @@ # Contributions from Don Porter, NIST, 2002. (not subject to US copyright) # All rights reserved. # -# RCS: @(#) $Id: tcltest.tcl,v 1.91 2004/05/26 16:25:00 dgp Exp $ +# RCS: @(#) $Id: tcltest.tcl,v 1.92 2004/10/30 02:16:52 dgp Exp $ package require Tcl 8.3 ;# uses [glob -directory] namespace eval tcltest { @@ -24,7 +24,7 @@ namespace eval tcltest { # When the version number changes, be sure to update the pkgIndex.tcl file, # and the install directory in the Makefiles. When the minor version # changes (new feature) be sure to update the man page as well. - variable Version 2.2.6 + variable Version 2.2.7 # Compatibility support for dumb variables defined in tcltest 1 # Do not use these. Call [package provide Tcl] and [info patchlevel] @@ -1458,8 +1458,10 @@ proc tcltest::ProcessFlags {flagArray} { } # Call the hook - array set flag $flagArray - processCmdLineArgsHook [array get flag] + catch { + array set flag $flagArray + processCmdLineArgsHook [array get flag] + } return } |