tcltest: do a better job of cleanup up after tests
[jimtcl.git] / bootstrap.tcl
blobf6c404fad5c181d65d46f19740476efbcf98234c
1 # Minimal support for package require
2 # No error on failure since C extensions aren't handled
3 proc package {cmd pkg} {
4 if {$cmd eq "require"} {
5 foreach path $::auto_path {
6 if {[file exists $path/$pkg.tcl]} {
7 uplevel #0 [list source $path/$pkg.tcl]
8 return