Subject: [bug#49123] [PATCH 02/24] gnu: libolm: Add python bindings output.

From: Maxime Devos <[email-masked]>
Date: Mon, 21 Jun 2021 17:44:20 +0200

Hi,

>           (replace 'check
>             (lambda _
>               (with-directory-excursion "tests"
> -               (invoke "ctest" ".")))))))
> +               (invoke "ctest" "."))))

I would make this

>           (replace 'check
>             (lambda* (#:key tests? #:allow-other-keys)
>               (with-directory-excursion "tests"
>                 (when tests?
> -                 (invoke "ctest" ".")
> +                 (invoke "ctest" ".")))))

That way, "guix build libolm --without-tests=libolm" should work.

Greetings,
Maxime.