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>
This commit is contained in:
parent
b7d2644cd0
commit
34f49d15e6
1 changed files with 9 additions and 9 deletions
|
@ -876,15 +876,15 @@ (define-public python-vedo
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue