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:
Paul Garlick 2019-02-20 12:16:07 +00:00 committed by Ricardo Wurmus
parent 14afee3e8b
commit 7a82074ca6
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 0 deletions

View File

@ -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/")