gnu: python-fenics-dijitso: Fix build.
* gnu/packages/simulation.scm (python-fenics-dijitso)[arguments]: Skip parallel tests. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
14afee3e8b
commit
7a82074ca6
|
@ -268,6 +268,11 @@ problems for efficient solution on parallel systems.")
|
||||||
(setenv "PYTHONPATH"
|
(setenv "PYTHONPATH"
|
||||||
(string-append (getcwd) ":" (getenv "PYTHONPATH")))
|
(string-append (getcwd) ":" (getenv "PYTHONPATH")))
|
||||||
(with-directory-excursion "test"
|
(with-directory-excursion "test"
|
||||||
|
;; Disable parallel tests to avoid race condition. See
|
||||||
|
;; https://github.com/pytest-dev/pytest-cov/issues/237.
|
||||||
|
(substitute* "runtests.sh"
|
||||||
|
(("for p in 1 4 8 16; do")
|
||||||
|
"for p in 1; do"))
|
||||||
(invoke "./runtests.sh"))
|
(invoke "./runtests.sh"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "https://bitbucket.org/fenics-project/dijitso/")
|
(home-page "https://bitbucket.org/fenics-project/dijitso/")
|
||||||
|
|
Loading…
Reference in New Issue