tests: Raw instances shouldn't stack-allocate on most targets.
authorAlastair Bridgewater <nyef@arisu.lisphacker.com>
Fri, 28 Oct 2011 23:04:25 +0000 (19:04 -0400)
committerAlastair Bridgewater <nyef@arisu.lisphacker.com>
Thu, 15 Dec 2011 14:46:48 +0000 (09:46 -0500)
  * We possibly should be testing to make sure that they /do/
cons, but we can live with not having an expected failure
message for a situation that would take a lot of careful work
on the compiler and GC to improve.

tests/dynamic-extent.impure.lisp

index a1458bf..9b167c7 100644 (file)
   (assert-no-consing (make-array-on-stack-9))
   (assert-no-consing (make-array-on-stack-10)))
 
-(with-test (:name (:no-consing :dx-raw-instances) :fails-on :ppc :skipped-on '(not :raw-instance-init-vops))
+(with-test (:name (:no-consing :dx-raw-instances) :skipped-on '(or (not :raw-instance-init-vops)
+                                                                   (not (and :gencgc :c-stack-is-control-stack))))
   (let (a b)
     (setf a 1.24 b 1.23d0)
     (assert-no-consing (make-foo2-on-stack a b)))