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 @@ readable.")
|
||||||
(add-after 'build 'mpi-setup
|
(add-after 'build 'mpi-setup
|
||||||
,%openmpi-setup)
|
,%openmpi-setup)
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(with-directory-excursion "tests"
|
(with-directory-excursion "tests"
|
||||||
(for-each (lambda (dir)
|
(for-each (lambda (dir)
|
||||||
(with-directory-excursion dir
|
(with-directory-excursion dir
|
||||||
(invoke "./run_all.sh")))
|
(invoke "./run_all.sh")))
|
||||||
'("common" "dolfin")))
|
'("common" "dolfin")))))))))
|
||||||
#t)))))
|
|
||||||
(inputs ; for the check phase
|
(inputs ; for the check phase
|
||||||
`(("dolfin" ,fenics)
|
`(("dolfin" ,fenics)
|
||||||
("pkgconfig" ,python-pkgconfig)
|
("pkgconfig" ,python-pkgconfig)
|
||||||
|
|
|
||||||
Reference in a new issue