gnu: python-symengine: Fix tests.
This fixes <https://issues.guix.gnu.org/57104>. * gnu/packages/python-xyz.scm (python-symengine): [native-inputs]: Add python-nose. [arguments]: Run tests with 'nosetests'.
This commit is contained in:
parent
f030ae422b
commit
4c846ba9eb
@ -14645,8 +14645,19 @@ document.")
|
|||||||
(sha256
|
(sha256
|
||||||
(base32 "0qjgdbnb10kfk7jdhxnzfl8cpaps81k8vap7gm7q9ym3pgslazhg"))))
|
(base32 "0qjgdbnb10kfk7jdhxnzfl8cpaps81k8vap7gm7q9ym3pgslazhg"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(if tests?
|
||||||
|
;; Run tests against installed package.
|
||||||
|
(with-directory-excursion "/tmp"
|
||||||
|
(invoke "nosetests" "-v" "symengine.tests"))
|
||||||
|
(format #t "test suite not run~%")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list cmake python-cython))
|
(list cmake python-cython python-nose))
|
||||||
(inputs
|
(inputs
|
||||||
(list symengine))
|
(list symengine))
|
||||||
(home-page "https://github.com/symengine/symengine.py")
|
(home-page "https://github.com/symengine/symengine.py")
|
||||||
|
Loading…
Reference in New Issue
Block a user