summaryrefslogtreecommitdiffstats
path: root/tests/basic.test
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2002-06-22 04:19:45 (GMT)
committerdgp <dgp@noemail.net>2002-06-22 04:19:45 (GMT)
commit65f32f91b86536e154db24d968d018e708f76540 (patch)
treeafe75aae3aa2396f2b275820237a6af00d65858c /tests/basic.test
parentf21af6c9ff8db6c90345a523ffdb1114a32d8bad (diff)
downloadtcl-65f32f91b86536e154db24d968d018e708f76540.zip
tcl-65f32f91b86536e154db24d968d018e708f76540.tar.gz
tcl-65f32f91b86536e154db24d968d018e708f76540.tar.bz2
* Corrections to tcltest and the Tcl test suite so that a test
with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2). FossilOrigin-Name: 9ba9324aefb481870bbdcf7c812e149be23ddd02
Diffstat (limited to 'tests/basic.test')
-rw-r--r--tests/basic.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/basic.test b/tests/basic.test
index 6159abc..0d80968 100644
--- a/tests/basic.test
+++ b/tests/basic.test
@@ -15,21 +15,21 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: basic.test,v 1.20 2002/05/07 15:54:40 msofer Exp $
+# RCS: @(#) $Id: basic.test,v 1.21 2002/06/22 04:19:47 dgp Exp $
#
if {[lsearch [namespace children] ::tcltest] == -1} {
- package require tcltest
+ package require tcltest 2
namespace import -force ::tcltest::*
}
-set ::tcltest::testConstraints(testcmdtoken) \
+::tcltest::testConstraint testcmdtoken \
[llength [info commands testcmdtoken]]
-set ::tcltest::testConstraints(testcmdtrace) \
+::tcltest::testConstraint testcmdtrace \
[llength [info commands testcmdtrace]]
-set ::tcltest::testConstraints(testcreatecommand) \
+::tcltest::testConstraint testcreatecommand \
[llength [info commands testcreatecommand]]
-set ::tcltest::testConstraints(exec) \
+::tcltest::testConstraint exec \
[llength [info commands exec]]
# This variable needs to be changed when the major or minor version number for