diff options
author | Keith Seitz <keiths@redhat.com> | 2008-07-22 20:39:42 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2008-07-22 20:39:42 +0000 |
commit | 24af8de1062fda6b0c35651e8b0b9860e3f2ddbd (patch) | |
tree | 46ea83d88a2ce5f019f728543106bec210325004 /itcl/itcl/tests/inherit.test | |
parent | 5601295b75f82401817b35387a9843a18a9ae357 (diff) | |
download | gdb-24af8de1062fda6b0c35651e8b0b9860e3f2ddbd.tar.gz |
imported Itcl 3.3ITCL_3_3
Diffstat (limited to 'itcl/itcl/tests/inherit.test')
-rw-r--r-- | itcl/itcl/tests/inherit.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/itcl/itcl/tests/inherit.test b/itcl/itcl/tests/inherit.test index e20d5065e78..73a6339fe1c 100644 --- a/itcl/itcl/tests/inherit.test +++ b/itcl/itcl/tests/inherit.test @@ -13,12 +13,12 @@ # See the file "license.terms" for information on usage and # redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. -package require tcltest -namespace import -force ::tcltest::* +if {[lsearch [namespace children] ::tcltest] == -1} { + package require tcltest 2.1 + namespace import -force ::tcltest::test +} -if {[string compare test [info procs test]] == 1} then {source defs} - -package require Itcl +::tcltest::loadTestedCommands # ---------------------------------------------------------------------- # Test construction/destruction with inheritance |