[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/25: gnu: python-cffi: Disable tests that fail with newer glibc.
From: |
guix-commits |
Subject: |
23/25: gnu: python-cffi: Disable tests that fail with newer glibc. |
Date: |
Sat, 23 Jul 2022 13:44:50 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit cafb72db5d2ff5240c67e2a2684f4603977c7214
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Jul 22 16:12:46 2022 +0200
gnu: python-cffi: Disable tests that fail with newer glibc.
* gnu/packages/libffi.scm (python-cffi)[arguments]: Ignore two tests.
---
gnu/packages/libffi.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm
index 953f386770..0c59509a91 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -110,7 +110,12 @@ conversions for values passed between the two languages.")
"linker_so='gcc -shared')")))
(substitute* "testing/cffi0/test_ownlib.py"
(("\"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
(lambda* (#:key inputs #:allow-other-keys)
;; Shared libraries should be referred by their absolute path as
- 02/25: gnu: automake: Update to 1.16.5., (continued)
- 02/25: gnu: automake: Update to 1.16.5., guix-commits, 2022/07/23
- 04/25: gnu: autoconf: Remove input labels., guix-commits, 2022/07/23
- 17/25: gnu: source-highlight: Fix build with newer GCC., guix-commits, 2022/07/23
- 18/25: gnu: gdk-pixbuf: Update to 2.42.8., guix-commits, 2022/07/23
- 21/25: gnu: python-markupsafe: Update to 2.1.1., guix-commits, 2022/07/23
- 25/25: gnu: pcsc-lite: Add missing Python input., guix-commits, 2022/07/23
- 12/25: gnu: cyrus-sasl: Do not propagate Kerberos., guix-commits, 2022/07/23
- 13/25: gnu: elfutils: Update to 0.187., guix-commits, 2022/07/23
- 16/25: gnu: glib: Build with Elfutils instead of libelf., guix-commits, 2022/07/23
- 19/25: gnu: mesa: Build with the default LLVM., guix-commits, 2022/07/23
- 23/25: gnu: python-cffi: Disable tests that fail with newer glibc.,
guix-commits <=
- 24/25: gnu: libwpd: Fix build with newer GCC., guix-commits, 2022/07/23
- 15/25: gnu: GCC: Build with Elfutils instead of libelf., guix-commits, 2022/07/23
- 22/25: gnu: python-mako: Update to 1.2.1., guix-commits, 2022/07/23
- 14/25: gnu: elfutils: Explicitly depend on xz., guix-commits, 2022/07/23
- 10/25: gnu: cyrus-sasl: Update to 2.1.28., guix-commits, 2022/07/23