Don't attempt to recover from undefined behavior in some cases
commitebe0bdae9ded4eab974faefb54a6ba5260523489
authorPhilipp Stephani <phst@google.com>
Sat, 27 May 2017 12:39:01 +0000 (27 14:39 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 27 May 2017 13:30:19 +0000 (27 15:30 +0200)
treed63f9db7cbfdab4b21d66b6c1c55aa565b31e326
parenta3a3ea0762d0e5d3b2cb8259a515a468736050d1
Don't attempt to recover from undefined behavior in some cases

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.
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/ert.el