X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdynamic-extent.impure.lisp;h=ba18278d9088b26a3b61386ba317ecce528cc566;hb=3357d40adfad43ce33a84cdf888977299241f8c8;hp=9aa52b6712d07428e974c504a679185af7d888b7;hpb=453291c1102e2bc19f1d6a25a63fe99460206b26;p=sbcl.git diff --git a/tests/dynamic-extent.impure.lisp b/tests/dynamic-extent.impure.lisp index 9aa52b6..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) +#+(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)