Fix some feature conditionals for tests.

To basically not assume that immobile space/code is
x86-64/immobile-fdefn only.
This commit is contained in:
Charles Zhang 2023-08-30 18:04:39 +02:00
parent c657299376
commit c1a86e55b0
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
#-immobile-space (invoke-restart 'run-tests::skip-file)
#-(and immobile-space x86-64) (invoke-restart 'run-tests::skip-file)
(defun make-page-full-of-fdefns ()
;; Make a bunch of fdefns until we're aligned at a page boundary.

View file

@ -161,7 +161,7 @@
(with-test (:name :static-fdefn-space)
(sb-int:dovector (name sb-vm:+static-fdefns+)
(assert (eq (sb-ext:heap-allocated-p (sb-int:find-fdefn name))
(or #+immobile-code :immobile :static)))))
(or #+(and immobile-code x86-64) :immobile :static)))))
;;; SB-EXT:GENERATION-* accessors returned bogus values for generation > 0
(with-test (:name :bug-529014)