~ruther/guix-local

d29cf19bfb16bfb4092cdd0231436e360fe2aa87 — Aleksandr Vityazev 4 years ago abd2a5a
gnu: ableton-link: Run tests conditionally.

* gnu/packages/audio.scm (ableton-link)[arguments]: Respect TESTS? option.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
1 files changed, 6 insertions(+), 5 deletions(-)

M gnu/packages/audio.scm
M gnu/packages/audio.scm => gnu/packages/audio.scm +6 -5
@@ 5241,11 5241,12 @@ Rate} 3600x2250 bit/s vocoder used in various radio systems.")
       #:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key inputs #:allow-other-keys)
             (let* ((python (search-input-file inputs "/bin/python3"))
                    (run-tests "../source/ci/run-tests.py"))
               (invoke python run-tests "--target" "LinkCoreTest")
               (invoke python run-tests "--target" "LinkDiscoveryTest"))))
           (lambda* (#:key inputs tests? #:allow-other-keys)
             (when tests?
               (let* ((python (search-input-file inputs "/bin/python3"))
                      (run-tests "../source/ci/run-tests.py"))
                 (invoke python run-tests "--target" "LinkCoreTest")
                 (invoke python run-tests "--target" "LinkDiscoveryTest")))))
         (add-before 'install 'patch-cmake
           (lambda* (#:key inputs #:allow-other-keys)
             (let* ((source "../source/"))