public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/imath] rawhide: Skip problematic test on x86-64-v3
@ 2026-06-10 23:09 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-10 23:09 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 23:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 23:09 [rpms/imath] rawhide: Skip problematic test on x86-64-v3 Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox