From 29f205f7e060c70895f34521995c147f77bba9eb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 12 Apr 2021 15:14:12 +0300 Subject: 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 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) -- cgit v1.2.3