diff options
author | dgp <dgp@users.sourceforge.net> | 2008-10-14 16:35:44 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-10-14 16:35:44 (GMT) |
commit | 43adceb175b78847d4d791e54f623da29c6ef708 (patch) | |
tree | 90a1bad9ca22497e9f01dac4ffb020a22b85d4df /tests | |
parent | 1a78806e6a2ff9b872b9462b68b37ebf2cb88472 (diff) | |
download | tcl-43adceb175b78847d4d791e54f623da29c6ef708.zip tcl-43adceb175b78847d4d791e54f623da29c6ef708.tar.gz tcl-43adceb175b78847d4d791e54f623da29c6ef708.tar.bz2 |
add missing constraints
Diffstat (limited to 'tests')
-rw-r--r-- | tests/info.test | 5 | ||||
-rw-r--r-- | tests/unsupported.test | 4 | ||||
-rw-r--r-- | tests/util.test | 5 |
3 files changed, 8 insertions, 6 deletions
diff --git a/tests/info.test b/tests/info.test index 1078536..71c4617 100644 --- a/tests/info.test +++ b/tests/info.test @@ -13,7 +13,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: info.test,v 1.61 2008/10/07 17:57:43 msofer Exp $ +# RCS: @(#) $Id: info.test,v 1.62 2008/10/14 16:35:44 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -1409,7 +1409,8 @@ test info-38.6 {location information for uplevel, ppl, proc-proc-literal} -match * {type source line 1342 file info.test cmd control proc ::datal level 1} * {type source line 1405 file info.test cmd datal proc ::tcltest::RunTest}} -test info-38.7 {location information for arg substitution} -match glob -body { +testConstraint testevalex [llength [info commands testevalex]] +test info-38.7 {location information for arg substitution} -constraints testevalex -match glob -body { join [lrange [testevalex {return -level 0 [etrace]}] 0 3] \n } -result {* {type source line 728 file info.test cmd {info frame \$level} proc ::etrace level 0} * {type eval line 1 cmd etrace proc ::tcltest::RunTest} diff --git a/tests/unsupported.test b/tests/unsupported.test index 7085be6..d4b11de 100644 --- a/tests/unsupported.test +++ b/tests/unsupported.test @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: unsupported.test,v 1.13 2008/10/08 15:10:30 msofer Exp $ +# RCS: @(#) $Id: unsupported.test,v 1.14 2008/10/14 16:35:44 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -211,7 +211,7 @@ test unsupported-A9 {atProcExit and uplevel} -constraints {knownBug atProcExit} # Test tailcalls # -test unsupported-T.0 {tailcall is constant space} -setup { +test unsupported-T.0 {tailcall is constant space} -constraints testnrelevels -setup { proc a i { if {[incr i] > 10} { return [depthDiff] diff --git a/tests/util.test b/tests/util.test index 61e0fff..994fc0f 100644 --- a/tests/util.test +++ b/tests/util.test @@ -7,7 +7,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: util.test,v 1.19 2008/08/17 14:15:26 msofer Exp $ +# RCS: @(#) $Id: util.test,v 1.20 2008/10/14 16:35:44 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -15,6 +15,7 @@ if {[lsearch [namespace children] ::tcltest] == -1} { } testConstraint testdstring [llength [info commands testdstring]] +testConstraint testconcatobj [llength [info commands testconcatobj]] # Big test for correct ordering of data in [expr] @@ -163,7 +164,7 @@ test util-4.6 {Tcl_ConcatObj - utf-8 sequence with "whitespace" char} { # Check for Bug #227512. If this violates C isspace, then it returns \xc3. concat \xe0 } \xe0 -test util-4.7 {Tcl_ConcatObj - refCount safety} { +test util-4.7 {Tcl_ConcatObj - refCount safety} testconcatobj { # Check for Bug #1447328 (actually, bugs in its original "fix"). One of the # symptoms was Bug #2055782. testconcatobj |