gnu: ableton-link: Run tests conditionally.
* gnu/packages/audio.scm (ableton-link)[arguments]: Respect TESTS? option. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>master
parent
abd2a5a807
commit
d29cf19bfb
|
@ -5241,11 +5241,12 @@ Rate} 3600x2250 bit/s vocoder used in various radio systems.")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs tests? #:allow-other-keys)
|
||||||
(let* ((python (search-input-file inputs "/bin/python3"))
|
(when tests?
|
||||||
(run-tests "../source/ci/run-tests.py"))
|
(let* ((python (search-input-file inputs "/bin/python3"))
|
||||||
(invoke python run-tests "--target" "LinkCoreTest")
|
(run-tests "../source/ci/run-tests.py"))
|
||||||
(invoke python run-tests "--target" "LinkDiscoveryTest"))))
|
(invoke python run-tests "--target" "LinkCoreTest")
|
||||||
|
(invoke python run-tests "--target" "LinkDiscoveryTest")))))
|
||||||
(add-before 'install 'patch-cmake
|
(add-before 'install 'patch-cmake
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((source "../source/"))
|
(let* ((source "../source/"))
|
||||||
|
|
Reference in New Issue