guix-commits
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]