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
commit91db1558a041dec882c5fc29b413468e6512f4a3 (patch)
treef9a974cf5f29fd3375afb3c2d4cbde9de98bc690
parent3ec64e6c5853e81779e593c24fa79f9d8cad40db (diff)
downloadtxr-91db1558a041dec882c5fc29b413468e6512f4a3.tar.gz
txr-91db1558a041dec882c5fc29b413468e6512f4a3.tar.bz2
txr-91db1558a041dec882c5fc29b413468e6512f4a3.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))