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
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2017, 2018, 2019, 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
|
;;; 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.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -267,16 +268,13 @@ problems for efficient solution on parallel systems.")
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "HOME" "/tmp")
|
||||||
(setenv "PYTHONPATH"
|
|
||||||
(string-append (getcwd) ":" (getenv "PYTHONPATH")))
|
|
||||||
(with-directory-excursion "test"
|
(with-directory-excursion "test"
|
||||||
;; Disable parallel tests to avoid race condition. See
|
;; Disable parallel tests to avoid race condition. See
|
||||||
;; https://github.com/pytest-dev/pytest-cov/issues/237.
|
;; https://github.com/pytest-dev/pytest-cov/issues/237.
|
||||||
(substitute* "runtests.sh"
|
(substitute* "runtests.sh"
|
||||||
(("for p in 1 4 8 16; do")
|
(("for p in 1 4 8 16; do")
|
||||||
"for p in 1; do"))
|
"for p in 1; do"))
|
||||||
(invoke "./runtests.sh"))
|
(invoke "./runtests.sh")))))))
|
||||||
#t)))))
|
|
||||||
(home-page "https://bitbucket.org/fenics-project/dijitso/")
|
(home-page "https://bitbucket.org/fenics-project/dijitso/")
|
||||||
(synopsis "Distributed just-in-time building of shared libraries")
|
(synopsis "Distributed just-in-time building of shared libraries")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue