X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fgc.impure.lisp;h=faf5693d34f42f237de4ceaf2ee0e27a969ad942;hb=026aef761bfe2e191fa38be357da233aacd6119e;hp=fbe284b9950ab3b6dfa168d7f3b57d9aa9a5dd95;hpb=3fa2feb10ab827fc6cc2a85287e78b6e66b7bf4d;p=sbcl.git diff --git a/tests/gc.impure.lisp b/tests/gc.impure.lisp index fbe284b..faf5693 100644 --- a/tests/gc.impure.lisp +++ b/tests/gc.impure.lisp @@ -53,12 +53,12 @@ (assert gc-happend))) ;;; SB-EXT:GENERATION-* accessors returned bogus values for generation > 0 -#+gencgc -(with-test (:name :bug-529014) - ;; FIXME: These parameters are a) tunable in the source and b) - ;; duplicated multiple times there and now here. It would be good to - ;; OAOO-ify them (probably to src/compiler/generic/params.lisp). +(with-test (:name :bug-529014 :skipped-on '(not :gencgc)) (loop for i from 0 to sb-vm:+pseudo-static-generation+ - do (assert (= (sb-ext:generation-bytes-consed-between-gcs i) 2000000)) - (assert (= (sb-ext:generation-minimum-age-before-gc i) 0.75)) - (assert (= (sb-ext:generation-number-of-gcs-before-promotion i) 1)))) + do (assert (= (sb-ext:generation-bytes-consed-between-gcs i) + (sb-ext:bytes-consed-between-gcs))) + ;; FIXME: These parameters are a) tunable in the source and b) + ;; duplicated multiple times there and now here. It would be good to + ;; OAOO-ify them (probably to src/compiler/generic/params.lisp). + (assert (= (sb-ext:generation-minimum-age-before-gc i) 0.75)) + (assert (= (sb-ext:generation-number-of-gcs-before-promotion i) 1))))