summaryrefslogtreecommitdiff
path: root/itcl/itcl/tests/defs
diff options
context:
space:
mode:
Diffstat (limited to 'itcl/itcl/tests/defs')
-rw-r--r--itcl/itcl/tests/defs8
1 files changed, 8 insertions, 0 deletions
diff --git a/itcl/itcl/tests/defs b/itcl/itcl/tests/defs
index 4be66bc07c2..68a3779c051 100644
--- a/itcl/itcl/tests/defs
+++ b/itcl/itcl/tests/defs
@@ -10,6 +10,11 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# SCCS: @(#) defs 1.44 96/10/08 17:26:58
+# ------------------------------------------------------------------
+# THIS SCRIPT IS NOW DEPRECATED! It is kept for older Tcl
+# installations that don't have the "tcltest" package.
+# Instead, use "package require tcltest" in the test suite.
+# ------------------------------------------------------------------
if ![info exists VERBOSE] {
set VERBOSE 0
@@ -81,6 +86,9 @@ if {[info commands memory] == ""} {
# 'echo' etc available.
catch {unset testConfig}
+
+package require Itcl
+
if {$tcl_platform(platform) == "unix"} {
set testConfig(unixOnly) 1
set testConfig(tempNotPc) 1