gnu: python-fenics-dijitso: Do not alter PYTHONPATH.
* gnu/packages/simulation.scm (python-fenics-dijitso) [phases]{check}: Do not alter PYTHONPATH.
This commit is contained in:
parent
3f78a14ea0
commit
85b42f04a3
1 changed files with 2 additions and 4 deletions
|
@ -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 @@ (define-public python-fenics-dijitso
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue