tcltest stomps ::auto_path
Closed / Fixed495726ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-12-21 03:20:00
Lines 3455-3456 of tcltest.tcl say: 3455 # Ensure that we have a minimal auto_path so we don't pick up extra junk. 3456 set ::auto_path [list [info library]] I have no idea what the comment is talking about regarding "extra junk", but the consequence is that tcltest cannot be used to test any package that depends on auto-loading for its proper operation. As an example, in Tk: $ cd unix $ ./tktest ../tests/choosedir.test <lots of failed tests because Tk needs autoloading> Commenting out line 3456 seems to take care of the problem.
hobbs Ticket [495726ffff]: 1 change
[History diff]2002-03-23 06:06:31
dgpplain2002-03-26 00:12:26
Logged In: YES user_id=80530 Fixed in HEAD (2.0.2)
dgp Ticket [495726ffff]: 2 changes
[History diff]2002-03-26 00:12:27
Log in (anonymous is fine) to add a comment.