mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: python-glymur: Speed up tests.
* gnu/packages/python-xyz.scm (python-glymur): Enable parallel tests to speed them up. [arguments] <#:test-flags>: Add it with "-n" option. [native-inputs]: Add python-pytest-xdist. Change-Id: Ied066330cc24a50b47307cefb2694675be8af0a4
This commit is contained in:
parent
2962c0f025
commit
2de864d204
1 changed files with 5 additions and 1 deletions
|
@ -1958,6 +1958,8 @@ (define-public python-glymur
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
#:test-flags
|
||||||
|
#~(list "-n" "auto")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-library-locations
|
(add-after 'unpack 'patch-library-locations
|
||||||
|
@ -1983,7 +1985,9 @@ (define-public python-glymur
|
||||||
;; which is patched above.
|
;; which is patched above.
|
||||||
(delete-file "tests/test_config.py"))))))
|
(delete-file "tests/test_config.py"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest python-scikit-image))
|
(list python-pytest
|
||||||
|
python-pytest-xdist
|
||||||
|
python-scikit-image))
|
||||||
(inputs
|
(inputs
|
||||||
(list openjpeg ; glymur/lib/openjp2.py
|
(list openjpeg ; glymur/lib/openjp2.py
|
||||||
libtiff)) ; glymur/lib/tiff.py
|
libtiff)) ; glymur/lib/tiff.py
|
||||||
|
|
Loading…
Reference in a new issue