summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-03-06 20:05:13 (GMT)
committersebres <sebres@users.sourceforge.net>2017-03-06 20:05:13 (GMT)
commit542acc2feab327a28153eb288b65e3508a924be6 (patch)
tree8a4c362d7bfe2365695f17c93fd523f354a3488d
parent0c863a2fc66cae2abec782232dd633e0aa561672 (diff)
downloadtcl-542acc2feab327a28153eb288b65e3508a924be6.zip
tcl-542acc2feab327a28153eb288b65e3508a924be6.tar.gz
tcl-542acc2feab327a28153eb288b65e3508a924be6.tar.bz2
nre.test: add constraint for nre-0.1 (testnreunwind may be not available)
-rw-r--r--tests/nre.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/nre.test b/tests/nre.test
index 9df5eb1..09061d2 100644
--- a/tests/nre.test
+++ b/tests/nre.test
@@ -64,9 +64,11 @@ if {[testConstraint testnrelevels]} {
namespace import testnre::*
}
-test nre-0.1 {levels while unwinding} {
+test nre-0.1 {levels while unwinding} -body {
testnreunwind
-} {0 0 0}
+} -constraints {
+ testnrelevels
+} -result {0 0 0}
test nre-1.1 {self-recursive procs} -setup {
proc a i [makebody {a $i}]