emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52568: closed ([PATCH] gnu: ableton-link: Run tests conditionally.)


From: GNU bug Tracking System
Subject: bug#52568: closed ([PATCH] gnu: ableton-link: Run tests conditionally.)
Date: Fri, 17 Dec 2021 08:37:02 +0000

Your message dated Fri, 17 Dec 2021 09:35:58 +0100
with message-id <875yrn632p.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#52568] [PATCH] gnu: ableton-link: Run tests 
conditionally.
has caused the debbugs.gnu.org bug report #52568,
regarding [PATCH] gnu: ableton-link: Run tests conditionally.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52568: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52568
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: ableton-link: Run tests conditionally. Date: Fri, 17 Dec 2021 08:30:24 +0000
* 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



--- End Message ---
--- Begin Message --- Subject: Re: [bug#52568] [PATCH] gnu: ableton-link: Run tests conditionally. Date: Fri, 17 Dec 2021 09:35:58 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hello,

Aleksandr Vityazev <avityazev@posteo.org> writes:

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

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]