• Philipp Stephani's avatar
    Don't attempt to recover from undefined behavior in some cases · ebe0bdae
    Philipp Stephani authored
    These functions can only be run in batch mode and exit Emacs on
    return, so nothing can be recovered.  Disable unsafe recover
    mechanisms so that we get real failures and good stack traces on
    fatal signals.
    
    * lisp/emacs-lisp/bytecomp.el (batch-byte-compile)
    (batch-byte-recompile-directory):
    * lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit)
    (ert-summarize-tests-batch-and-exit): Don't attempt to recover
    from undefined behavior.
    ebe0bdae
ert.el 108 KB