summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-06-26 19:34:41 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-06-26 19:34:41 -0700
commitb880fb064069f170cda8b7c9399d343db8736b9d (patch)
treef9a974cf5f29fd3375afb3c2d4cbde9de98bc690
parentcfe46cb68fe8073f10d08627fb15ea2d91322088 (diff)
downloadtxr-b880fb064069f170cda8b7c9399d343db8736b9d.tar.gz
txr-b880fb064069f170cda8b7c9399d343db8736b9d.tar.bz2
txr-b880fb064069f170cda8b7c9399d343db8736b9d.zip
tests: reduce time spent in stack overflow test.
* tests/012/stack2.txr: This test case can prove its point in a much smaller stack limit than the one derived from the system default. Let's cut it to 32 kilobytes.
-rw-r--r--tests/012/stack2.txr1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/012/stack2.txr b/tests/012/stack2.txr
index df9e209a..3652a764 100644
--- a/tests/012/stack2.txr
+++ b/tests/012/stack2.txr
@@ -1,6 +1,7 @@
@(define recur ())
@(recur)
@(end)
+@(do (set-stack-limit 32768))
@(try)
@(recur)
@(catch stack-overflow (arg))