Turn off *check-consistency* for a test.

Check consistency doesn't work here on high debug. In addition, the
original test case didn't call for it anyway. The reason it doesn't
work is that signalling a compiler error while compiling breaks the
consistency of the IR. That's just how it is.
This commit is contained in:
Charles Zhang 2022-04-23 11:15:18 -07:00
parent 1e7d2505db
commit fc8e4f95c1

View file

@ -2490,13 +2490,12 @@
(test-util:with-test (:name :bug-308941)
(multiple-value-bind (warn fail)
(let ((*check-consistency* t))
(ctu:file-compile
"(eval-when (:compile-toplevel :load-toplevel :execute)
(ctu:file-compile
"(eval-when (:compile-toplevel :load-toplevel :execute)
(defstruct foo3))
(defstruct bar
(foo #.(make-foo3)))"
:load nil))
:load nil)
;; ...but the compiler should not break.
(assert (and warn fail))))