summaryrefslogtreecommitdiffstats
path: root/library/tcltest
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2001-08-09 01:06:42 (GMT)
committerdgp <dgp@users.sourceforge.net>2001-08-09 01:06:42 (GMT)
commitd7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f (patch)
tree4ea0ef33da47dbebe516c83ac83f355a695d6494 /library/tcltest
parent280f05e70aff22b0058a6bbd878e84a12d01dcad (diff)
downloadtcl-d7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f.zip
tcl-d7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f.tar.gz
tcl-d7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f.tar.bz2
Added checks for package dependencies.
Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2, opt 0.4.3, tcltest 2.0.1. [Patch 448931]
Diffstat (limited to 'library/tcltest')
-rw-r--r--library/tcltest/pkgIndex.tcl3
-rw-r--r--library/tcltest/tcltest.tcl6
2 files changed, 6 insertions, 3 deletions
diff --git a/library/tcltest/pkgIndex.tcl b/library/tcltest/pkgIndex.tcl
index da93644..43e4656 100644
--- a/library/tcltest/pkgIndex.tcl
+++ b/library/tcltest/pkgIndex.tcl
@@ -8,4 +8,5 @@
# script is sourced, the variable $dir must contain the
# full path name of this file's directory.
-package ifneeded tcltest 2.0 [list source [file join $dir tcltest.tcl]]
+if {![package vsatisfies [package provide Tcl] 8.3]} {return}
+package ifneeded tcltest 2.0.1 [list source [file join $dir tcltest.tcl]]
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index cb3d405..cdeef93 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -13,10 +13,12 @@
# Copyright (c) 2000 by Ajuba Solutions
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.tcl,v 1.30 2000/11/24 14:17:11 dkf Exp $
+# RCS: @(#) $Id: tcltest.tcl,v 1.31 2001/08/09 01:06:42 dgp Exp $
# create the "tcltest" namespace for all testing variables and procedures
+package require Tcl 8.3
+
namespace eval tcltest {
# Export the public tcltest procs
@@ -3481,5 +3483,5 @@ namespace eval tcltest {
}
}
-package provide tcltest 2.0
+package provide tcltest 2.0.1