public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orion Poplawski <orion@nwra.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hdf5] rawhide: Actually run tests (rhbz#2563170)
Date: Sat, 31 Oct 2026 15:31:36 GMT	[thread overview]
Message-ID: <179346069686.1.16680809137875626319.rpms-hdf5-940efd90fa09@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/hdf5
Branch : rawhide
Commit : 940efd90fa099d999e7d385d1bfa5ee69deb92af
Author : Orion Poplawski <orion@nwra.com>
Date   : 2026-10-30T18:44:37-06:00
Stats  : +9/-16 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/hdf5/c/940efd90fa099d999e7d385d1bfa5ee69deb92af?branch=rawhide

Log:
Actually run tests (rhbz#2563170)

---
diff --git a/hdf5.spec b/hdf5.spec
index 8f7d6fc..e215e1d 100644
--- a/hdf5.spec
+++ b/hdf5.spec
@@ -193,20 +193,9 @@ HDF5 parallel openmpi static libraries
 
 %if %{with java}
 # Replace jars with system versions
-# hamcrest-core is obsoleted in hamcrest-2.2
-# Junit tests are failing with junit-4.13.1
-%if 0%{?rhel} >= 9 || 0%{?fedora}
-find . ! -name junit.jar -name "*.jar" -delete
-ln -s $(build-classpath hamcrest) java/lib/hamcrest-core.jar
-ln -s $(build-classpath junit) java/lib/org.junit.jar
-%else
 find . -name "*.jar" -delete
-ln -s $(build-classpath hamcrest/core) java/lib/hamcrest-core.jar
+ln -s $(build-classpath hamcrest/core) java/lib/org.hamcrest.jar
 ln -s $(build-classpath junit) java/lib/org.junit.jar
-# Fix test output
-junit_ver=$(sed -n '/<version>/{s/^.*>\([0-9]\.[0-9.]*\)<.*/\1/;p;q}' /usr/share/maven-poms/junit.pom)
-sed -i -e "s/JUnit version .*/JUnit version $junit_ver/" java/test/testfiles/JUnit-*.txt
-%endif
 ln -s $(build-classpath slf4j/api) java/lib/slf4j-api-2.0.16.jar
 ln -s $(build-classpath slf4j/nop) java/lib/ext/slf4j-nop-2.0.16.jar
 ln -s $(build-classpath slf4j/simple) java/lib/ext/slf4j-simple-2.0.16.jar
@@ -368,15 +357,19 @@ rm %{buildroot}%{_jnidir}/slf*.jar
 
 
 %check
-%ifarch %{ix86} ppc64le
+%ifarch %{ix86} ppc64le s390x
 # i686: t_bigio test segfaults - https://github.com/HDFGroup/hdf5/issues/2510
 # ppc64le - t_multi_dset is flaky on ppc64le
+# s390x:
+#  108 - h5_api_test_dataset (Failed)
+#  384 - H5LS-tdset_idx-2 (Failed)
+#  2997 - H5_H5DUMP-h5ex_image2 (Failed)
 fail=0
 %else
 fail=1
 %endif
 cd build-serial
-ctest -V %{?_smp_mflags} || exit $fail
+%ctest || exit $fail
 cd -
 %ifarch %{ix86} ppc64le s390x
 # i686: t_bigio test segfaults - https://github.com/HDFGroup/hdf5/issues/2510
@@ -400,8 +393,8 @@ do
   if [ "$mpi-%{_arch}" != mpich-aarch64 -a "$mpi-%{_arch}" != mpich-ppc64le -a "$mpi-%{_arch}" != mpich-riscv64 ]
   then
     module load mpi/$mpi-%{_arch}
-    cd build-serial
-    ctest -V %{?_smp_mflags} || exit $fail
+    cd $mpi
+    %ctest || exit $fail
     cd -
     module purge
   fi

                 reply	other threads:[~2026-10-31 15:31 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=179346069686.1.16680809137875626319.rpms-hdf5-940efd90fa09@fedoraproject.org \
    --to=orion@nwra.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