Aleksandr Vityazev schreef op do 16-12-2021 om 13:27 [+0000]:
>             (lambda* (#:key inputs #:allow-other-keys)
>               (let* ((python (search-input-file inputs
> "/bin/python3"))
> -                    (run-tests (string-append "../ableton-link-"
> -                                              ,version
> -                                              "-checkout/ci/run-
> tests.py")))
> +                    (run-tests "../source/ci/run-tests.py"))
>                 (invoke python run-tests "--target" "LinkCoreTest")
>                 (invoke python run-tests "--target"
> "LinkDiscoveryTest"))))

(Unrelated to the build failure) this phase doesn't respect #:tests?/--
without-tests/tries to run tests even when cross-compiling. This would
probably be noticed by "guix lint ableton-link".

I recommend wrapping the 'let*' form in a (when tests? [...])
(adding tests? before the #:alllow-other-keys).

Greetings,
Maxime




Reply via email to