public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/coin-or-HiGHS] f45: Skip floating point tests that fail on non-x86_64
Date: Mon, 30 Nov 2026 20:44:03 GMT	[thread overview]
Message-ID: <179607144342.1.4456077470886057031.rpms-coin-or-HiGHS-90c9945b5edf@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/coin-or-HiGHS
Branch : f45
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=f45

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

                 reply	other threads:[~2026-11-30 20:44 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=179607144342.1.4456077470886057031.rpms-coin-or-HiGHS-90c9945b5edf@fedoraproject.org \
    --to=loganjerry@gmail.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