me
/
guix
Archived
1
0
Fork 0

gnu: python-fenics-dijitso: Do not alter PYTHONPATH.

* gnu/packages/simulation.scm (python-fenics-dijitso)
[phases]{check}: Do not alter PYTHONPATH.
master
Maxim Cournoyer 2021-01-23 22:59:12 -05:00
parent 3f78a14ea0
commit 85b42f04a3
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2018, 2019, 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -267,16 +268,13 @@ problems for efficient solution on parallel systems.")
(replace 'check
(lambda _
(setenv "HOME" "/tmp")
(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)))))
(invoke "./runtests.sh")))))))
(home-page "https://bitbucket.org/fenics-project/dijitso/")
(synopsis "Distributed just-in-time building of shared libraries")
(description