public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libsonata] rawhide: fix: drop s390x failing tests, reported upstream
Date: Thu, 22 Oct 2026 14:51:01 GMT [thread overview]
Message-ID: <179268066116.1.16492015330730119818.rpms-libsonata-c035265277a7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libsonata
Branch : rawhide
Commit : c035265277a7c9e814061ee464150d0d5bf20605
Author : Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
Date : 2026-10-22T13:46:45+01:00
Stats : +12/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libsonata/c/c035265277a7c9e814061ee464150d0d5bf20605?branch=rawhide
Log:
fix: drop s390x failing tests, reported upstream
- fixes rhbz#2504295
- fixes rhbz#2390993
---
diff --git a/libsonata.spec b/libsonata.spec
index 319f02f..3d6868c 100644
--- a/libsonata.spec
+++ b/libsonata.spec
@@ -137,14 +137,25 @@ rm -fv %{buildroot}/%{python3_sitearch}/%{_lib}/libsonata.a
%check
+# Skip known failing tests on s390x architecture
+# These fail because of issues with the tests data that is included in the sources
+# Filed upstream: https://github.com/openbraininstitute/libsonata/issues/73
+%ifarch s390x
+%ctest tests -E "NodePopulation|NodePopulationmatchAttributeValues|NodePopulationmatchAttributeValues|NodePopulationmatchAttributeValues|NodePopulationmatchAttributeValues|NodePopulationmatchAttributeValues|NodePopulationmatchAttributeValues|NodePopulationmatchAttributeValues|NodePopulationmatchAttributeValues|NodePopulationmatchAttributeValues|NodeSetBasic|NodeSetCompound"
+%else
%ctest tests
+%endif
# We need the contents of python/tests to be at a parallel path (same depth
# from the top-level directory), but we need to ensure that the tests cannot
-# find an “un-built” copy of libsonata in the parent directory.
+# find an "un-built" copy of libsonata in the parent directory.
mkdir _empty
cp -rp python/tests _empty/
+%ifarch s390x
+%pytest -v _empty/tests -k "not (test_BasicScalarAnded or test_BasicScalarInt or test_BasicScalarString or test_NodeSetCompound or test_enumeration_values or test_get_attribute or test_get_dynamics_attribute or test_match_values or test_library_enumeration or test_extend)"
+%else
%pytest -v _empty/tests
+%endif
%files
reply other threads:[~2026-10-22 14:51 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=179268066116.1.16492015330730119818.rpms-libsonata-c035265277a7@fedoraproject.org \
--to=sanjay.ankur@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