summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2019-02-20 12:16:07 +0000
committerRicardo Wurmus <rekado@elephly.net>2019-02-20 21:39:35 +0100
commit7a82074ca6cc616bc26dbc8b343cdd49406afeca (patch)
treecdabebf90d9cca705b5344e034dea1b0a96c9259 /gnu
parent14afee3e8be41fac6acc047ae8c0bb6941bd1971 (diff)
downloadguix-7a82074ca6cc616bc26dbc8b343cdd49406afeca.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/simulation.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 20b62f33d1..3637cc383b 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -268,6 +268,11 @@ problems for efficient solution on parallel systems.")
              (setenv "PYTHONPATH"
                      (string-append (getcwd) ":" (getenv "PYTHONPATH")))
              (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"))
              #t)))))
     (home-page "https://bitbucket.org/fenics-project/dijitso/")