summaryrefslogtreecommitdiffstats
path: root/tests/nre.test
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)
commit6ba062e0679546a9c8b8081b0b68042005952a3e (patch)
tree8a4c362d7bfe2365695f17c93fd523f354a3488d /tests/nre.test
parent089381e2b134caf0f0f090d827403469a45691b4 (diff)
downloadtcl-6ba062e0679546a9c8b8081b0b68042005952a3e.zip
tcl-6ba062e0679546a9c8b8081b0b68042005952a3e.tar.gz
tcl-6ba062e0679546a9c8b8081b0b68042005952a3e.tar.bz2
nre.test: add constraint for nre-0.1 (testnreunwind may be not available)
Diffstat (limited to 'tests/nre.test')
-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}]