[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: macs: Update check phase.
From: |
guix-commits |
Subject: |
02/07: gnu: macs: Update check phase. |
Date: |
Mon, 9 Nov 2020 04:36:59 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 4dcd19d3ff143e7ef5ed1584a9ace65c348d1dfa
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 9 10:36:14 2020 +0200
gnu: macs: Update check phase.
* gnu/packages/bioinformatics.scm (macs)[arguments]: Don't delete 'check
phase before using custom 'check phase.
---
gnu/packages/bioinformatics.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a456b2b..010742b 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4480,11 +4480,12 @@ experiments.")
(arguments
`(#:phases
(modify-phases %standard-phases
- (delete 'check)
- (add-after 'install 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-v"))))))
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-v"))
+ #t)))))
(inputs
`(("python-numpy" ,python-numpy)))
(native-inputs
- branch master updated (3d2989d -> f7f92d8), guix-commits, 2020/11/09
- 02/07: gnu: macs: Update check phase.,
guix-commits <=
- 03/07: gnu: macs: Remove generated code., guix-commits, 2020/11/09
- 07/07: gnu: docbook: Update source URI., guix-commits, 2020/11/09
- 06/07: gnu: bdb: Download using HTTPS., guix-commits, 2020/11/09
- 01/07: gnu: macs: Update source, home-page URIs., guix-commits, 2020/11/09
- 04/07: gnu: pipewalker: Update source URI., guix-commits, 2020/11/09
- 05/07: gnu: libngspice: Update source URI list., guix-commits, 2020/11/09