GNU bug report logs -
#52568
[PATCH] gnu: ableton-link: Run tests conditionally.
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/audio.scm (ableton-link)[arguments]: Respect TESTS? option.
---
gnu/packages/audio.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index f5fda6d4e9..beae167fb3 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5245,11 +5245,12 @@ (define-public ableton-link
#: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/"))
--
2.34.0
--
Aleksandr Vityazev
This bug report was last modified 3 years and 156 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.