From 45d7315c2b076a44781bf4063bc6dc1a2ffc93e5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 17 Mar 2024 22:55:58 -0700 Subject: 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. --- tests/012/fini.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3