Skip to content
Snippets Groups Projects
Commit 4f6795fa authored by Robert P. Goldman's avatar Robert P. Goldman
Browse files

Add test of behaviors when errors are not deferred.

Per query by Ilya Perminov about behavior on SBCL.
parent 9575fb8d
No related branches found
No related tags found
No related merge requests found
;;; -*- 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)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment