0.9.16.27:
[sbcl.git] / tests / compiler.pure.lisp
index 60b91b8..cfc11c1 100644 (file)
 
 (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
 
 ;;; 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)))))