X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.pure.lisp;h=cfc11c1fb1d5a28426a11131898c1264bf67b244;hb=970dd272dc84f7420252eadb4829cc193f795716;hp=60b91b8857d6e32e3df0a97a859a4ae486666920;hpb=40b06a4157c22c2bab0b13ba051fde2489864076;p=sbcl.git diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp index 60b91b8..cfc11c1 100644 --- a/tests/compiler.pure.lisp +++ b/tests/compiler.pure.lisp @@ -13,6 +13,10 @@ (cl:in-package :cl-user) +;; The tests in this file assume that EVAL will use the compiler +(when (eq sb-ext:*evaluator-mode* :interpret) + (invoke-restart 'run-tests::skip-file)) + ;;; Exercise a compiler bug (by crashing the compiler). ;;; ;;; This test code is from Douglas Crosher's simplified TICKLE-BUG @@ -2116,9 +2120,9 @@ ;;; step instrumentation confusing the compiler, reported by Faré (handler-bind ((warning #'error)) - (compile nil '(lambda () + (compile nil '(lambda () (declare (optimize (debug 2))) ; not debug 3! (let ((val "foobar")) - (map-into (make-array (list (length val)) + (map-into (make-array (list (length val)) :element-type '(unsigned-byte 8)) #'char-code val)))))