summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-04-12 15:14:12 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-04-12 15:16:58 +0300
commit29f205f7e060c70895f34521995c147f77bba9eb (patch)
tree908d482911542137970f58847ecdc5be538fd755
parent2323a38b0170453f1942372f8bbae58c5660d20f (diff)
downloadguix-29f205f7e060c70895f34521995c147f77bba9eb.tar.gz
gnu: hangups: Run test suite.
* gnu/packages/messaging.scm (hangups)[arguments]: Use custom 'check
phase.
-rw-r--r--gnu/packages/messaging.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index fa08a33d8f..1cb78aa9b3 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)