guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: python-fenics-dijitso: Fix build.


From: guix-commits
Subject: 01/01: gnu: python-fenics-dijitso: Fix build.
Date: Wed, 20 Feb 2019 15:39:48 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 7a82074ca6cc616bc26dbc8b343cdd49406afeca
Author: Paul Garlick <address@hidden>
Date:   Wed Feb 20 12:16:07 2019 +0000

    gnu: python-fenics-dijitso: Fix build.
    
    * gnu/packages/simulation.scm (python-fenics-dijitso)[arguments]: Skip
    parallel tests.
    
    Signed-off-by: Ricardo Wurmus <address@hidden>
---
 gnu/packages/simulation.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 20b62f3..3637cc3 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/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]