diff options
author | dgp <dgp@users.sourceforge.net> | 2002-06-22 04:19:46 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-06-22 04:19:46 (GMT) |
commit | a96389c630f566cd60a1801a00ce9cbd49de6246 (patch) | |
tree | afe75aae3aa2396f2b275820237a6af00d65858c /tests/result.test | |
parent | 03ba5cac868e4b5a001d9f84df871d377d89f1c5 (diff) | |
download | tcl-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/result.test')
-rw-r--r-- | tests/result.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/result.test b/tests/result.test index e8418e2..f0fb9e3 100644 --- a/tests/result.test +++ b/tests/result.test @@ -13,13 +13,13 @@ # SCCS: @(#) result.test 1.4 97/12/08 15:07:49 if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest + package require tcltest 2 namespace import -force ::tcltest::* } # Some tests require the testsaveresult command -set ::tcltest::testConstraints(testsaveresult) \ +::tcltest::testConstraint testsaveresult \ [expr {[info commands testsaveresult] != {}}] test result-1.1 {Tcl_SaveInterpResult} {testsaveresult} { |