summaryrefslogtreecommitdiffstats
path: root/tests/compile.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile.test')
-rw-r--r--tests/compile.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/compile.test b/tests/compile.test
index 2fa4147..fb9a87a 100644
--- a/tests/compile.test
+++ b/tests/compile.test
@@ -499,7 +499,8 @@ test compile-15.5 {proper TCL_RETURN code from [return]} {
apply {{} {catch {set a 1}; return}}
} ""
-for {set noComp 0} {$noComp <= 1} {incr noComp} {
+# Do all tests once byte compiled and once with direct string evaluation
+foreach noComp {0 1} {
if $noComp {
interp alias {} run {} testevalex