summaryrefslogtreecommitdiffstats
path: root/tests/pkgMkIndex.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-06-22 04:19:46 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-06-22 04:19:46 (GMT)
commita96389c630f566cd60a1801a00ce9cbd49de6246 (patch)
treeafe75aae3aa2396f2b275820237a6af00d65858c /tests/pkgMkIndex.test
parent03ba5cac868e4b5a001d9f84df871d377d89f1c5 (diff)
downloadtcl-a96389c630f566cd60a1801a00ce9cbd49de6246.zip
tcl-a96389c630f566cd60a1801a00ce9cbd49de6246.tar.gz
tcl-a96389c630f566cd60a1801a00ce9cbd49de6246.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).
Diffstat (limited to 'tests/pkgMkIndex.test')
-rw-r--r--tests/pkgMkIndex.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pkgMkIndex.test b/tests/pkgMkIndex.test
index 79a6b52..26e78f5 100644
--- a/tests/pkgMkIndex.test
+++ b/tests/pkgMkIndex.test
@@ -8,10 +8,10 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: pkgMkIndex.test,v 1.19 2002/05/07 18:03:05 vincentdarley Exp $
+# RCS: @(#) $Id: pkgMkIndex.test,v 1.20 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::*
}
@@ -332,7 +332,7 @@ test pkgMkIndex-9.1 {circular packages} {
set x [file join [file dirname [info nameofexecutable]] dltest \
pkga[info sharedlibextension]]
set dll "[file tail $x]Required"
-set ::tcltest::testConstraints($dll) [file exists $x]
+::tcltest::testConstraint $dll [file exists $x]
test pkgMkIndex-10.1 {package in DLL and script} $dll {
file copy -force $x $fullPkgPath