summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2024-03-17 22:55:58 -0700
committerKaz Kylheku <kaz@kylheku.com>2024-03-17 22:55:58 -0700
commit45d7315c2b076a44781bf4063bc6dc1a2ffc93e5 (patch)
tree501aa05a46320fc5b2a7030ca83e7d9f40e40f7c
parent7ccaad252da4720916cafa1d42c433aa122fefd2 (diff)
downloadtxr-45d7315c2b076a44781bf4063bc6dc1a2ffc93e5.tar.gz
txr-45d7315c2b076a44781bf4063bc6dc1a2ffc93e5.tar.bz2
txr-45d7315c2b076a44781bf4063bc6dc1a2ffc93e5.zip
tests: stability of fini test case.
* test/012/fini.tl: Pass t to sys:gc to request full garbage collection. Otherwise the output may be reordered, due to some of the objects made earlier in the test case being promoted to the mature generation and thus not finalized by the (sys:gc) call.
-rw-r--r--tests/012/fini.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/012/fini.tl b/tests/012/fini.tl
index 4036b5d4..506b4c9e 100644
--- a/tests/012/fini.tl
+++ b/tests/012/fini.tl
@@ -21,7 +21,7 @@
(put-line "after with-objects"))
(mapcar (ret (new derived)) (range 1 20))
-(sys:gc)
+(sys:gc t)
(defstruct multi ()
(:init (me)