guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: tlpui: Honor TESTS?.


From: guix-commits
Subject: 02/03: gnu: tlpui: Honor TESTS?.
Date: Mon, 4 Jul 2022 09:17:48 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 16c2372fe8c04ad652101b60440f7bd76e51c0f9
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Jul 4 15:08:36 2022 +0200

    gnu: tlpui: Honor TESTS?.
    
    * gnu/packages/linux.scm (tlpui)[arguments]<#:phases>: Honor TESTS? in CHECK
    phase.
---
 gnu/packages/linux.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 04684b05df..5e72040927 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7178,8 +7178,9 @@ every time the power supply source is changed.")
          ;; configuration from /etc/tlp.conf or /etc/default/tlp".
          (delete 'sanity-check)
          (replace 'check
-           (lambda _
-             (invoke "python" "-m" "discover")))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "python" "-m" "discover"))))
          (add-after 'install 'wrap-gi-python
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out"))



reply via email to

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