summaryrefslogtreecommitdiffstats
path: root/library/tcltest
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-10-16 15:22:04 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-10-16 15:22:04 (GMT)
commit2f2ca20a1089b632493c1d3bf0b67c96d898627b (patch)
tree6389b824c5843bdc0f6ec3d75bad8fc980a6f81c /library/tcltest
parentb47aca32b8e6db041e5d1ae02f9fe2f98149c98c (diff)
downloadtcl-2f2ca20a1089b632493c1d3bf0b67c96d898627b.zip
tcl-2f2ca20a1089b632493c1d3bf0b67c96d898627b.tar.gz
tcl-2f2ca20a1089b632493c1d3bf0b67c96d898627b.tar.bz2
* library/tcltest/tcltest.tcl: Revise tcltest bump to 2.3a1.
* library/tcltest/pkgIndex.tcl: This permits more features to be * unix/Makefile.in: added to tcltest before we reach version 2.3.0, * win/Makefile.in: best timed to match the release of Tcl 8.5.0. * win/makefile.vc: This also serves as a demo of TIP 268 features.
Diffstat (limited to 'library/tcltest')
-rw-r--r--library/tcltest/pkgIndex.tcl3
-rw-r--r--library/tcltest/tcltest.tcl5
2 files changed, 5 insertions, 3 deletions
diff --git a/library/tcltest/pkgIndex.tcl b/library/tcltest/pkgIndex.tcl
index 3b8d5a2..80991ab 100644
--- a/library/tcltest/pkgIndex.tcl
+++ b/library/tcltest/pkgIndex.tcl
@@ -8,5 +8,6 @@
# script is sourced, the variable $dir must contain the
# full path name of this file's directory.
+if {![package vsatisfies [package provide Tcl] 8.5]} {return}
if {![package vsatisfies [package provide Tcl] 8.3]} {return}
-package ifneeded tcltest 2.3.0 [list source [file join $dir tcltest.tcl]]
+package ifneeded tcltest 2.3a1 [list source [file join $dir tcltest.tcl]]
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index 183ebf6..d9d37bc 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -16,15 +16,16 @@
# Contributions from Don Porter, NIST, 2002. (not subject to US copyright)
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.tcl,v 1.97 2006/09/11 03:54:09 dgp Exp $
+# RCS: @(#) $Id: tcltest.tcl,v 1.98 2006/10/16 15:22:06 dgp Exp $
+package require Tcl 8.5 ;# To provide an alpha version
package require Tcl 8.3 ;# uses [glob -directory]
namespace eval tcltest {
# When the version number changes, be sure to update the pkgIndex.tcl file,
# and the install directory in the Makefiles. When the minor version
# changes (new feature) be sure to update the man page as well.
- variable Version 2.3.0
+ variable Version 2.3a1
# Compatibility support for dumb variables defined in tcltest 1
# Do not use these. Call [package provide Tcl] and [info patchlevel]