X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdebug.impure.lisp;h=c01a5a51a7cb7342e3f5feceac0440cfa50b5ec3;hb=5d5894082c39ca44da75d38859d669c7b2108f6a;hp=8b27b70042d8e3728105782a37df4ff1a5911b4e;hpb=87cd7d9848d9beddbf74e9d56a0c0aea6e189ead;p=sbcl.git diff --git a/tests/debug.impure.lisp b/tests/debug.impure.lisp index 8b27b70..c01a5a5 100644 --- a/tests/debug.impure.lisp +++ b/tests/debug.impure.lisp @@ -96,11 +96,11 @@ (backtrace (member (caar frame-specs) full-backtrace :key #'car :test #'equal))) - + (setf result condition) (unless backtrace - (format t "~&//~S not in backtrace:~% ~S~%" + (format t "~&//~S not in backtrace:~% ~S~%" (caar frame-specs) full-backtrace) (setf result nil)) @@ -400,6 +400,11 @@ (assert (search "returned 1" out)) (assert (search "returned 120" out)))) +(with-test (:name :bug-414) + (handler-bind ((warning #'error)) + (load (compile-file "bug-414.lisp")) + (disassemble 'bug-414))) + ;;;; test infinite error protection (defmacro nest-errors (n-levels error-form)