guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: hangups: Run test suite.


From: guix-commits
Subject: 03/03: gnu: hangups: Run test suite.
Date: Mon, 12 Apr 2021 08:17:49 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 29f205f7e060c70895f34521995c147f77bba9eb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 12 15:14:12 2021 +0300

    gnu: hangups: Run test suite.
    
    * gnu/packages/messaging.scm (hangups)[arguments]: Use custom 'check
    phase.
---
 gnu/packages/messaging.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index fa08a33..1cb78aa 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2430,6 +2430,11 @@ QMatrixClient project.")
              (substitute* "setup.py"
                (("==") ">=")
                ((",<.*'") "'"))
+             #t))
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "hangups"))
              #t)))))
     (propagated-inputs
      `(("python-aiohttp" ,python-aiohttp)



reply via email to

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