Conditionalize on #+SB-EVAL test parts that bind *EVALUATOR-MODE* to
:INTERPRET. The affected tests are:
- compiler.pure.lisp / :multiple-args-to-function
- eval.impure.lisp / (eval :empty-let-is-not-toplevel)
(with-test (:name :multiple-args-to-function)
(let ((form `(flet ((foo (&optional (x 13)) x))
(funcall (function foo 42))))
- (*evaluator-mode* :interpret))
+ #+sb-eval (*evaluator-mode* :interpret))
+ #+sb-eval
(assert (eq :error
(handler-case (eval form)
(error () :error))))
(assert (eq :fun (empty-let-is-not-toplevel-fun))))
;; While at it, test that we get the late binding under
;; interpreter mode.
+ #+sb-eval
(let ((sb-ext:*evaluator-mode* :interpret))
(eval `(let ()
(defmacro empty-let-is-not-toplevel-x () :macro)