summaryrefslogtreecommitdiffstats
path: root/library/tcltest/tcltest.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-12-03 19:14:32 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-12-03 19:14:32 (GMT)
commitb222d2f2b2dbf7666e44385dc825b59b5045b3f2 (patch)
treedf6b9c98c7df0e651246bef4a1dae1964b2f880f /library/tcltest/tcltest.tcl
parent8bdf6a3cdd5c1ace4435d972fd5f183ce4f3e18c (diff)
downloadtcl-b222d2f2b2dbf7666e44385dc825b59b5045b3f2.zip
tcl-b222d2f2b2dbf7666e44385dc825b59b5045b3f2.tar.gz
tcl-b222d2f2b2dbf7666e44385dc825b59b5045b3f2.tar.bz2
Disable the legacy configuration setting from $::argv only when a setting
call to [configure] is made. Queries should not disturb that support. Bump to tcltest 2.2.11.
Diffstat (limited to 'library/tcltest/tcltest.tcl')
-rw-r--r--library/tcltest/tcltest.tcl6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index 4ae1480c..5d89748 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -22,7 +22,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.10
+ variable Version 2.2.11
# Compatibility support for dumb variables defined in tcltest 1
# Do not use these. Call [package provide Tcl] and [info patchlevel]
@@ -601,7 +601,9 @@ namespace eval tcltest {
}
}
proc configure args {
- RemoveAutoConfigureTraces
+ if {[llength $args] > 1} {
+ RemoveAutoConfigureTraces
+ }
set code [catch {eval Configure $args} msg]
return -code $code $msg
}