Commit 4f6795fa authored by Robert P. Goldman's avatar Robert P. Goldman

Add test of behaviors when errors are not deferred.

Per query by Ilya Perminov about behavior on SBCL.
parent 9575fb8d
;;; -*- Lisp -*-
;;;---------------------------------------------------------------------------
;;; Intended to test behaviors that we see when the deferred warnings check is
;;; NOT deferred.
;;; ---------------------------------------------------------------------------
(in-package :asdf-test)
(def-test-system :undefined-variables
:components ((:file "fun-with-undefined-locals")))
(errors #+(or allegro clozure) compile-file-error
#+(or cmu scl) null
#+sbcl compile-failed-error
(let ((*compile-file-warnings-behaviour* :error))
(load-system :undefined-variables)))
(errors #+(or allegro clozure) compile-file-error
#+(or cmu scl) null
#+sbcl compile-failed-error
(let ((*compile-file-warnings-behaviour* :warning))
(load-system :undefined-variables :force t)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment