X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdynamic-extent.impure.lisp;h=ba18278d9088b26a3b61386ba317ecce528cc566;hb=d8659f1e656234e8f0f47d5295b503dd6cff4aba;hp=dc67efaf6374eb8d1d5c0226f537625033efa91a;hpb=2253ebaef8a0a1527d2282a1c10f48c62e0d4a83;p=sbcl.git diff --git a/tests/dynamic-extent.impure.lisp b/tests/dynamic-extent.impure.lisp index dc67efa..ba18278 100644 --- a/tests/dynamic-extent.impure.lisp +++ b/tests/dynamic-extent.impure.lisp @@ -6,11 +6,14 @@ ;;;; While most of SBCL is derived from the CMU CL system, the test ;;;; files (like this one) were written from scratch after the fork ;;;; from CMU CL. -;;;; +;;;; ;;;; This software is in the public domain and is provided with ;;;; absolutely no warranty. See the COPYING and CREDITS files for ;;;; more information. +(when (eq sb-ext:*evaluator-mode* :interpret) + (sb-ext:quit :unix-status 104)) + (setq sb-c::*check-consistency* t) (defmacro defun-with-dx (name arglist &body body) @@ -116,8 +119,8 @@ t) (defun-with-dx dxclosure (x) - (flet ((f (y) - (+ y x))) + (flet ((f (y) + (+ y x))) (declare (dynamic-extent #'f)) (true #'f))) @@ -134,7 +137,7 @@ (funcall thunk)) (assert (< (- (get-bytes-consed) before) times)))) -#+(or x86 x86-64 alpha ppc sparc) +#+(or x86 x86-64 alpha ppc sparc mips) (progn (assert-no-consing (dxclosure 42)) (assert-no-consing (dxlength 1 2 3)) @@ -188,4 +191,3 @@ (bdowning-2005-iv-16) -(sb-ext:quit :unix-status 104)