ert-run-tests-batch-and-exit

ert-run-tests-batch-and-exit is an autoloaded compiled Lisp function in `ert.el'.

(ert-run-tests-batch-and-exit &optional SELECTOR)

Like `ert-run-tests-batch', but exits Emacs when done.

The exit status will be 0 if all test results were as expected, 1
on unexpected results, or 2 if the tool detected an error outside
of the tests (e.g. invalid SELECTOR or bug in the code that runs
the tests).