public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/imath] rawhide: Skip problematic test on x86-64-v3
Date: Wed, 10 Jun 2026 23:09:52 GMT	[thread overview]
Message-ID: <178113299236.1.16963619306198634010.rpms-imath-f0312fccc312@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/imath
            Branch : rawhide
            Commit : f0312fccc3121c21ff92bccafd9b961040035fe2
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-10T19:08:14-04:00
            Stats  : +16/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/imath/c/f0312fccc3121c21ff92bccafd9b961040035fe2?branch=rawhide

            Log:
            Skip problematic test on x86-64-v3

This test is failing only in ELN on x86_64 (which defaults to -v3).
It is not unusual to see slightly different floating point results
between architecture levels.

---
diff --git a/imath-disable-python-testM44fArray.patch b/imath-disable-python-testM44fArray.patch
new file mode 100644
index 0000000..99fc254
--- /dev/null
+++ b/imath-disable-python-testM44fArray.patch
@@ -0,0 +1,12 @@
+diff --git a/src/python/PyImathTest/pyImathTest.in b/src/python/PyImathTest/pyImathTest.in
+index 7d9294e..25811e7 100644
+--- a/src/python/PyImathTest/pyImathTest.in
++++ b/src/python/PyImathTest/pyImathTest.in
+@@ -8801,7 +8801,6 @@ def testM4Array(Array, Matrix, Vec, VecArray):
+ def testMatrixArray ():
+     print ("M44fArray")
+     testMxArray (M44fArray, M44f)
+-    testM4Array (M44fArray, M44f, V3f, V3fArray)
+     print ("M44dArray")
+     testMxArray (M44dArray, M44d)
+     testM4Array (M44dArray, M44d, V3d, V3dArray)

diff --git a/imath.spec b/imath.spec
index eb20317..f066cfb 100644
--- a/imath.spec
+++ b/imath.spec
@@ -12,6 +12,7 @@ URL:            https://github.com/AcademySoftwareFoundation/Imath
 Source0:        https://github.com/AcademySoftwareFoundation/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
 
 Patch0:         imath-disable-python-testPlane.patch
+Patch1:         imath-disable-python-testM44fArray.patch
 
 BuildRequires:  cmake
 BuildRequires:  gcc gcc-c++
@@ -52,6 +53,9 @@ Requires:       python3-devel
 %prep
 %setup -n %{srcname}-%{version}
 %patch -P0 -p1
+%ifarch x86_64 && 0%{?rhel} >= 10
+%patch -P1 -p1
+%endif
 
 
 %build

                 reply	other threads:[~2026-06-10 23:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178113299236.1.16963619306198634010.rpms-imath-f0312fccc312@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox