[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: tuir: Respect #:tests?.
From: |
guix-commits |
Subject: |
branch master updated: gnu: tuir: Respect #:tests?. |
Date: |
Wed, 04 Aug 2021 08:17:40 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new a715e93 gnu: tuir: Respect #:tests?.
a715e93 is described below
commit a715e93a095a413a7f09d41ae5b315be39a9abda
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Aug 4 15:15:57 2021 +0300
gnu: tuir: Respect #:tests?.
* gnu/packages/syndication.scm (tuir)[arguments]: Adjust custom 'check
phase to skip tests when requested.
---
gnu/packages/syndication.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index f3690a1..2f3f191 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -475,9 +475,10 @@ a simple interface that makes it easy to organize and
browse feeds.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
- (invoke "pytest"))))))
+ (when tests?
+ (invoke "pytest")))))))
(inputs
`(("python-beautifulsoup4" ,python-beautifulsoup4)
("python-decorator" ,python-decorator)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: tuir: Respect #:tests?.,
guix-commits <=