summaryrefslogtreecommitdiffstats
path: root/tests/unsupported.test
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-09-01 12:28:04 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-09-01 12:28:04 (GMT)
commitba6dbcbada614e41a404b68b0b7edcca6f149f07 (patch)
treefa1c9d1fe32b5d73c3c14dfd86969f74574830e9 /tests/unsupported.test
parent95660b09be94d6eb4b0482d33c78d8880e0c14cb (diff)
downloadtcl-ba6dbcbada614e41a404b68b0b7edcca6f149f07.zip
tcl-ba6dbcbada614e41a404b68b0b7edcca6f149f07.tar.gz
tcl-ba6dbcbada614e41a404b68b0b7edcca6f149f07.tar.bz2
* generic/tclCmdAH.c: nre-enabling [eval]; eval scripts are now
* generic/tclOOBasic.c: bytecompiled. Adapted recursion limit tests * tests/interp.test: that were relying on eval not being * tests/nre.test: compiled. Part of the [Bug 2017632] project. * tests/unsupported.test:
Diffstat (limited to 'tests/unsupported.test')
-rw-r--r--tests/unsupported.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unsupported.test b/tests/unsupported.test
index 0267c58..37a9313 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.7 2008/08/26 22:37:05 msofer Exp $
+# RCS: @(#) $Id: unsupported.test,v 1.8 2008/09/01 12:28:10 msofer Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -618,7 +618,7 @@ test unsupported-C.1.9 {yield in nested eval} -constraints {coroutine} \
} -cleanup {
rename moo {}
unset body res
-} -returnCodes error -result {cannot yield: C stack busy}
+} -result {0 10 20}
test unsupported-C.1.10 {yield in nested eval} -constraints {coroutine} \
-setup {
@@ -629,7 +629,7 @@ test unsupported-C.1.10 {yield in nested eval} -constraints {coroutine} \
yield
while {$i < $imax} {
- eval yield
+ eval yield [expr {$i*$stop}]
incr i
}
}
@@ -642,7 +642,7 @@ test unsupported-C.1.10 {yield in nested eval} -constraints {coroutine} \
set res
} -cleanup {
unset body res
-} -returnCodes error -result {cannot yield: C stack busy}
+} -result {0 10 20}
test unsupported-C.1.11 {yield outside coroutine} -constraints {coroutine} \
-setup {