Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Eric Timmons
asdf
Commits
69b60211
Commit
69b60211
authored
Feb 15, 2016
by
Robert Goldman
Browse files
Fix test (add force) and add prints.
parent
91af4196
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test-undeferred-warnings.script
View file @
69b60211
...
...
@@ -6,6 +6,9 @@
;;; ---------------------------------------------------------------------------
(in-package :asdf-test)
(uiop:uiop-debug)
(disable-deferred-warnings-check)
(def-test-system :undefined-variables
:components ((:file "fun-with-undefined-locals")))
...
...
@@ -22,19 +25,21 @@
;; GCL fails to warn; CMUCL, SBCL and presumably SCL defer warning to end of compilation unit;
;; SCL and XCL not actually tested
(DBG "Check for proper errors on warning.")
(errors #+(or abcl allegro clisp clozure (and ecl (not ecl-bytecmp)) lispworks mkcl xcl) compile-file-error
#+(or cmu (and ecl ecl-bytecmp) gcl sbcl scl) null
(let ((*compile-file-warnings-behaviour* :error))
(load-system :undefined-variables)))
(load-system :undefined-variables :force t)))
(DBG "Check for proper warnings on warning.")
(errors #+(or abcl allegro clisp clozure (and ecl (not ecl-bytecmp)) lispworks mkcl xcl) compile-file-error
#+(or cmu (and ecl ecl-bytecmp) gcl sbcl scl) null
(let ((*compile-file-warnings-behaviour* :warning))
(load-system :undefined-variables :force t)))
(DBG "check for undefined variable warnings to not fail a build.")
(assert
(let ((*compile-file-warnings-behaviour* :ignore))
(load-system :undefined-variables :force t)))
(DBG "check for undefined variable-warnings throttled by PERFORM around method not failing a build.")
(assert
(let ((*compile-file-warnings-behaviour* :error))
(asdf:load-system :undefined-variables-throttled :force t)))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment