From afaf69fcc38125ffa5a21b5f16d25cf1fdc93bae 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(-) (limited to 'tests') 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