X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdynamic-extent.impure.lisp;h=9b06fd761167e766eddd427a9677d228ea10fc70;hb=a189a69454ef7635149319ae213b337f17c50d20;hp=ee1244be6181173944fcbe37accbd02b670bc59c;hpb=e57446ab7db28aca5599d8a2c62cfc3b4b9bbffa;p=sbcl.git diff --git a/tests/dynamic-extent.impure.lisp b/tests/dynamic-extent.impure.lisp index ee1244b..9b06fd7 100644 --- a/tests/dynamic-extent.impure.lisp +++ b/tests/dynamic-extent.impure.lisp @@ -518,7 +518,8 @@ (declare (dynamic-extent x)) (unless (equalp (caar x) (make-nested-good :bar *bar*)) (error "got ~S, wanted ~S" (caar x) (make-nested-good :bar *bar*))) - (caar x))) + ;; the NESTED instance itself *should* be DX! + (copy-nested (caar x)))) (with-test (:name :conservative-nested-dx) ;; NESTED-BAD should not stack-allocate :BAR due to the SETF. @@ -585,7 +586,6 @@ (with-test (:name (:no-consing :dx-vectors) :skipped-on '(not :stack-allocatable-vectors)) (assert-no-consing (force-make-array-on-stack 128)) - (assert-no-consing (make-array-on-stack-1)) (assert-no-consing (make-array-on-stack-2 5 '(1 2.0 3 4.0 5))) (assert-no-consing (make-array-on-stack-3 9 8 7)) (assert-no-consing (make-array-on-stack-4)) @@ -596,6 +596,7 @@ :fails-on :x86 :skipped-on `(not (and :stack-allocatable-vectors :c-stack-is-control-stack))) + (assert-no-consing (make-array-on-stack-1)) (assert-no-consing (make-array-on-stack-6)) (assert-no-consing (make-array-on-stack-7)) (assert-no-consing (make-array-on-stack-8))