From f7f08ed212e20480dabd9801880cb3b7b9fb9343 Mon Sep 17 00:00:00 2001 From: dgp Date: Mon, 25 Mar 2002 17:10:57 +0000 Subject: * Keep the value of $::auto_path unchanged, so that the tcltest package can test code that depends on auto-loading. If a testing application needs $::auto_path pruned, it should do that itself. [Bug 495726] --- ChangeLog | 7 +++++++ library/tcltest/tcltest.tcl | 5 +---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1013b3f..19a92d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-03-25 Don Porter + + * library/tcltest/tcltest.tcl: Keep the value of $::auto_path + unchanged, so that the tcltest package can test code that depends + on auto-loading. If a testing application needs $::auto_path pruned, + it should do that itself. [Bug 495726] + 2002-03-25 Miguel Sofer * doc/CrtTrace.3: small doc correction diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index d08e975..1667bea 100644 --- a/library/tcltest/tcltest.tcl +++ b/library/tcltest/tcltest.tcl @@ -13,7 +13,7 @@ # Copyright (c) 2000 by Ajuba Solutions # All rights reserved. # -# RCS: @(#) $Id: tcltest.tcl,v 1.37 2002/03/24 18:57:53 dgp Exp $ +# RCS: @(#) $Id: tcltest.tcl,v 1.38 2002/03/25 17:10:57 dgp Exp $ # create the "tcltest" namespace for all testing variables and procedures @@ -3453,9 +3453,6 @@ proc tcltest::threadReap {} { # Initialize the constraints and set up command line arguments namespace eval tcltest { - # Ensure that we have a minimal auto_path so we don't pick up extra junk. - set ::auto_path [list [info library]] - tcltest::initConstraints if {[namespace children [namespace current]] == {}} { tcltest::processCmdLineArgs -- cgit v0.12