public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libsonata] f45: fix: drop s390x failing tests, reported upstream
@ 2026-10-22 15:39 Ankur Sinha
  0 siblings, 0 replies; only message in thread
From: Ankur Sinha @ 2026-10-22 15:39 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libsonata
            Branch : f45
            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=f45

            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

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

only message in thread, other threads:[~2026-10-22 15:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22 15:39 [rpms/libsonata] f45: fix: drop s390x failing tests, reported upstream Ankur Sinha

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