Subject: [bug#55421] [PATCH 1/1] gnu: Add emacs-bfuture.

From: Fredrik Salomonsson <[email-masked]>
Date: Sun, 15 May 2022 19:43:57 +0000

Fredrik Salomonsson <[email-masked]> writes:

> Maxime Devos <[email-masked]> writes:
>
>> Fredrik Salomonsson schreef op za 14-05-2022 om 23:54 [+0000]:
>>> +   (arguments
>>> +    `(#:tests? #t
>>> +      #:test-command '("ert-runner")))
>>
>> Tests cannot be run when cross-compiling(*), try
>>
>>   (arguments
>>     (list #:tests? (not (%current-target-system))
>>           #:test-command #~'("ert-runner")))
>>
>> instead.
>>
>> (*) unfortunately emacs-build-system does not support cross-compilation
>> yet, so this cannot yet be tested for emacs packages.
>>
>
> Got it, thanks.
>
> This is probably some sort of user error. 

Yup, definetly user error. I missed the list part in the diff and had
written:

>>   (arguments
>>     `(#:tests? (not (%current-target-system))
>>       #:test-command #~'("ert-runner")))

So the gexpression wasn't evaluated at the right time.

Should be all fixed in v1 patch I just sent.

-- 
s/Fred[re]+i[ck]+/Fredrik/g