public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/coin-or-HiGHS] rawhide: Skip floating point tests that fail on non-x86_64
@ 2026-11-30 19:22 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-11-30 19:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/coin-or-HiGHS
Branch : rawhide
Commit : 90c9945b5edfa50101eb612b94d2ff295dcf2f97
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-11-30T12:22:31-07:00
Stats  : +10/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/coin-or-HiGHS/c/90c9945b5edfa50101eb612b94d2ff295dcf2f97?branch=rawhide

Log:
Skip floating point tests that fail on non-x86_64

---
diff --git a/coin-or-HiGHS.spec b/coin-or-HiGHS.spec
index 178d77c..c895fa0 100644
--- a/coin-or-HiGHS.spec
+++ b/coin-or-HiGHS.spec
@@ -51,6 +51,16 @@ BuildOption(conf): -DBUILD_TESTING:BOOL=ON
 BuildOption(conf): -DHIPDLP_HIP:BOOL=ON
 %endif
 
+%if %{with rocm}
+# Skip tests that fail with a ROCm build
+BuildOption(check): -E 'cxx_examples_call_highs_hipdlp|unit_tests_all'
+%else
+# The unit tests only pass on x86_64 due to some floating point shenanigans
+%ifnarch %{x86_64}
+BuildOption(check): -E 'unit_tests_all'
+%endif
+%endif
+
 BuildRequires:  boost-devel
 BuildRequires:  catch2-devel
 BuildRequires:  cli11-static
@@ -170,12 +180,6 @@ g++ %{build_cxxflags} -fPIC -shared -I ../highs -I ../%{_vpath_builddir} \
   %{build_ldflags} -L %{buildroot}%{_libdir} -lhighs
 cd -
 
-%if %{with rocm}
-# Skip tests that fail with a ROCm build
-%check
-%ctest -E 'cxx_examples_call_highs_hipdlp|unit_tests_all'
-%endif
-
 %check -a
 export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
 %pytest -v

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 19:22 [rpms/coin-or-HiGHS] rawhide: Skip floating point tests that fail on non-x86_64 Jerry James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox