Subject: [bug#67237] [PATCH 32/32] gnu: python-posix-ipc: Limit tests to target-x86.

From: Sharlatan Hellseher <[email-masked]>
Date: Fri, 17 Nov 2023 12:16:21 +0000

* gnu/packages/python-xyz.scm (python-posix-ipc): Fix build on not X86
platform by disabling unit tests.
[arguments]{tests?}: Only run unit tests on target-x86.

Change-Id: I96a1fbd4e732135c9e2f26c547248f057c7778bf
---
 gnu/packages/python-xyz.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 73a5f2d5ad..805bd2b54d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33014,7 +33014,12 @@ (define-public python-posix-ipc
         (base32 "1wwp0ys8640nb31syabic1z524r1qx3q2v8h4d65am3a728l5bn4"))))
     (build-system python-build-system)
     (arguments
-     (list #:phases
+     ;; XXX: Disable failing tests on not x86_64-linux systems:
+     ;; - OSError: [Errno 38] Function not implemented
+     ;; - Test simple threaded notification
+     ;; https://github.com/osvenskan/posix_ipc/issues/35
+     (list #:tests? (target-x86?)
+           #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'patch-cc-path
                  (lambda _
-- 
2.41.0