X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcompiler.pure.lisp;h=c61786e99a3dc1128e9c6984ce8ebe6020b3e849;hb=d7cbe5c40e93796d326937f3fb962fa4d7b1fa85;hp=ee6905e866a6fdfc2ef5735e506a5d9b9a5809b8;hpb=20102d9bd3c62691cc2c27725ff7ffdcab54ab2b;p=sbcl.git diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp index ee6905e..c61786e 100644 --- a/tests/compiler.pure.lisp +++ b/tests/compiler.pure.lisp @@ -4843,19 +4843,20 @@ ;; Fixed on x86oids only, but other platforms still start ;; their stack frames at 8 slots, so this is less likely ;; to happen. - (labels ((iota (n) - (loop for i below n collect i)) - (test-function (function skip) - ;; function should just be (subseq x skip) - (loop for i from skip below (+ skip 16) do - (let* ((values (iota i)) - (f (apply function values)) - (subseq (subseq values skip))) - (assert (equal f subseq))))) - (make-function (n) - (let ((gensyms (loop for i below n collect (gensym)))) - (compile nil `(lambda (,@gensyms &rest rest) - (declare (ignore ,@gensyms)) - rest))))) - (dotimes (i 16) - (test-function (make-function i) i)))) + (let ((limit 33)) + (labels ((iota (n) + (loop for i below n collect i)) + (test-function (function skip) + ;; function should just be (subseq x skip) + (loop for i from skip below (+ skip limit) do + (let* ((values (iota i)) + (f (apply function values)) + (subseq (subseq values skip))) + (assert (equal f subseq))))) + (make-function (n) + (let ((gensyms (loop for i below n collect (gensym)))) + (compile nil `(lambda (,@gensyms &rest rest) + (declare (ignore ,@gensyms)) + rest))))) + (dotimes (i limit) + (test-function (make-function i) i)))))