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

Bug#941330: undocumented limitation/dependency in dh_elpa_test



Hello,

On Sat 05 Oct 2019 at 02:01PM -04, Nicholas D Steeves wrote:

> Sean Whitton <spwhitton@spwhitton.name> writes:
>
>> 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.
>>
>
> In this case it's more: run a second round of tests using a different
> upstream provided method, and output how long each test took, plus time
> for garbage collection, and of a course a PASS||FAIL.

I think that the correct way to do this would be

    override_dh_elpa_test:
        dh_elpa_test
        other_upstream_thing

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: