[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#941330: undocumented limitation/dependency in dh_elpa_test



control: tag -1 +pending

Hello,

On Sat 28 Sep 2019 at 04:50PM -04, Nicholas D Steeves wrote:

> dh-elpa-test appears to have an undocumented hard dependency on
> (ert-run-test-batch-and-exit), specifically "-and-exit", and this
> one-function expression must appear as the final line of the defined
> ert_helper.

Per the existing documentation of ert_helper, it would not be correct to
set ert_helper to run code that does some work, and then ends by calling
(ert-run-test-batch-and-exit).  That's what ert_eval is for.

I believe you're correct that there is a requirement that the ert_helper
code kill Emacs with a correct exit code in order for dh_elpa_test to
work properly, so I'm adding documentation for that.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: