diff options
author | hershey <hershey> | 1999-03-23 20:06:07 (GMT) |
---|---|---|
committer | hershey <hershey> | 1999-03-23 20:06:07 (GMT) |
commit | 0655548ba871678e963739a6a17f0f45786567f7 (patch) | |
tree | ebf678e2071193656adef6036d8e6f062614bba1 /tests/autoMkindex.test | |
parent | 3a67bb873f58d320e136a97c9fb0be1cd23035f4 (diff) | |
download | tcl-0655548ba871678e963739a6a17f0f45786567f7.zip tcl-0655548ba871678e963739a6a17f0f45786567f7.tar.gz tcl-0655548ba871678e963739a6a17f0f45786567f7.tar.bz2 |
changed tests to use "tcltest" namespace instead of "test".
added constraints to tests, rather than skipping the entire file.
Diffstat (limited to 'tests/autoMkindex.test')
-rw-r--r-- | tests/autoMkindex.test | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/tests/autoMkindex.test b/tests/autoMkindex.test index 345bac3..e04063b 100644 --- a/tests/autoMkindex.test +++ b/tests/autoMkindex.test @@ -9,15 +9,15 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: autoMkindex.test,v 1.1.2.3 1999/03/11 18:49:24 hershey Exp $ +# RCS: @(#) $Id: autoMkindex.test,v 1.1.2.4 1999/03/23 20:06:10 hershey Exp $ -if {[lsearch [namespace children] ::test] == -1} { +if {[lsearch [namespace children] ::tcltest] == -1} { source [file join [pwd] [file dirname [info script]] defs.tcl] } # temporarily copy the autoMkindex.tcl file from testsDir to tmpDir -set origMkindexFile [file join $::test::testsDir autoMkindex.tcl] -set newMkindexFile [file join $::test::tmpDir autoMkindex.tcl] +set origMkindexFile [file join $::tcltest::testsDir autoMkindex.tcl] +set newMkindexFile [file join $::tcltest::tmpDir autoMkindex.tcl] if {![catch {file copy $origMkindexFile $newMkindexFile}]} { set removeAutoMkindex 1 } @@ -69,5 +69,15 @@ if {[info exists removeAutoMkindex]} { catch {file delete $newMkindexFile} } catch {file delete -force tclIndex} -::test::cleanupTests +::tcltest::cleanupTests + + + + + + + + + + |