[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/11: gnu: python-vedo: Honor #:tests? flag.
From: |
guix-commits |
Subject: |
05/11: gnu: python-vedo: Honor #:tests? flag. |
Date: |
Fri, 6 May 2022 09:23:57 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 34f49d15e649cd42338524352f0c971374bc2262
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Fri Apr 22 20:25:54 2022 +0000
gnu: python-vedo: Honor #:tests? flag.
* gnu/packages/python-science.scm (python-vedo)[arguments]: Adjust
custom 'check' phase to honor the #:tests? flag. Also remove its
trailing boolean.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-science.scm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 3ad2cc4d87..bbdd4b86eb 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -876,15 +876,15 @@ readable.")
(add-after 'build 'mpi-setup
,%openmpi-setup)
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (setenv "HOME" (getcwd))
- (add-installed-pythonpath inputs outputs)
- (with-directory-excursion "tests"
- (for-each (lambda (dir)
- (with-directory-excursion dir
- (invoke "./run_all.sh")))
- '("common" "dolfin")))
- #t)))))
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" (getcwd))
+ (add-installed-pythonpath inputs outputs)
+ (with-directory-excursion "tests"
+ (for-each (lambda (dir)
+ (with-directory-excursion dir
+ (invoke "./run_all.sh")))
+ '("common" "dolfin")))))))))
(inputs ; for the check phase
`(("dolfin" ,fenics)
("pkgconfig" ,python-pkgconfig)
- branch master updated (5e27c54e08 -> 8079bd3da8), guix-commits, 2022/05/06
- 01/11: gnu: Add Guix-Modules., guix-commits, 2022/05/06
- 03/11: gnu: fenics: Honor #:tests? flag., guix-commits, 2022/05/06
- 05/11: gnu: python-vedo: Honor #:tests? flag.,
guix-commits <=
- 06/11: gnu: python-vedo: Remove input labels., guix-commits, 2022/05/06
- 07/11: gnu: python-vedo: Disable sanity check., guix-commits, 2022/05/06
- 04/11: gnu: fenics: Fix sanity check., guix-commits, 2022/05/06
- 02/11: gnu: fenics-dolfin: Honor #:tests? flag., guix-commits, 2022/05/06
- 08/11: gnu: python-vedo: Update to 2022.2.0., guix-commits, 2022/05/06
- 09/11: gnu: tcl: Add tcl-tls to packages., guix-commits, 2022/05/06
- 10/11: gnu: tcl-tls: Add 'release-monitoring-url' and 'upstream-name' properties., guix-commits, 2022/05/06
- 11/11: gnu: tcl-tls: Use a gexp., guix-commits, 2022/05/06