aboutsummaryrefslogtreecommitdiff
path: root/tests/runall.tcl
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2023-02-06 10:39:30 +1000
committerSteve Bennett <steveb@workware.net.au>2023-02-06 10:59:58 +1000
commit35b5ef40db6a184eb97574cd4774403db5599c5f (patch)
tree4dc00a06d9512aa5d37ecb26ffb1722b60675974 /tests/runall.tcl
parent554bf03257cee5874713371801e1ed7168277f71 (diff)
downloadjimtcl-35b5ef40db6a184eb97574cd4774403db5599c5f.zip
jimtcl-35b5ef40db6a184eb97574cd4774403db5599c5f.tar.gz
jimtcl-35b5ef40db6a184eb97574cd4774403db5599c5f.tar.bz2
tests: Don't run exec2 in a child interpreter
Since signals aren't supported there and we need signals for some of these tests. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/runall.tcl')
-rw-r--r--tests/runall.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runall.tcl b/tests/runall.tcl
index 9ef76b8..96a56a9 100644
--- a/tests/runall.tcl
+++ b/tests/runall.tcl
@@ -26,8 +26,8 @@ if {[info commands interp] eq ""} {
foreach script [lsort [glob $testdir/*.test]] {
set ::argv0 $script
- if {[file tail $script] eq "signal.test"} {
- # special case, can't run this in a child interpeter
+ if {[file tail $script] in {signal.test exec2.test}} {
+ # special case, can't run these in a child interpeter
catch -exit {
source $script
}