mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 07:27:48 -05:00
gnu: python-cffi: Disable tests that fail with newer glibc.
* gnu/packages/libffi.scm (python-cffi)[arguments]: Ignore two tests.
This commit is contained in:
parent
17f0e8d24f
commit
cafb72db5d
1 changed files with 6 additions and 1 deletions
|
@ -110,7 +110,12 @@ (define-public python-cffi
|
||||||
"linker_so='gcc -shared')")))
|
"linker_so='gcc -shared')")))
|
||||||
(substitute* "testing/cffi0/test_ownlib.py"
|
(substitute* "testing/cffi0/test_ownlib.py"
|
||||||
(("\"cc testownlib") "\"gcc testownlib"))
|
(("\"cc testownlib") "\"gcc testownlib"))
|
||||||
(invoke "py.test" "-v" "c/" "testing/")))
|
(invoke "pytest" "-v" "c/" "testing/"
|
||||||
|
;; Disable tests that fail (harmlessly) with glibc
|
||||||
|
;; 2.34 and later:
|
||||||
|
;; https://foss.heptapod.net/pypy/cffi/-/issues/528
|
||||||
|
"-k" (string-append "not TestFFI.test_dlopen_handle "
|
||||||
|
"and not test_dlopen_handle"))))
|
||||||
(add-before 'check 'patch-paths-of-dynamically-loaded-libraries
|
(add-before 'check 'patch-paths-of-dynamically-loaded-libraries
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; Shared libraries should be referred by their absolute path as
|
;; Shared libraries should be referred by their absolute path as
|
||||||
|
|
Loading…
Reference in a new issue