diff -Nru adios4dolfinx-0.7.3/debian/changelog adios4dolfinx-0.7.3/debian/changelog --- adios4dolfinx-0.7.3/debian/changelog 2024-02-27 00:13:48.000000000 +0000 +++ adios4dolfinx-0.7.3/debian/changelog 2024-02-27 16:53:51.000000000 +0000 @@ -1,3 +1,9 @@ +adios4dolfinx (0.7.3-7) unstable; urgency=medium + + * debian/tests: skip all tests on big-endian systems (s390x, etc) + + -- Drew Parsons Tue, 27 Feb 2024 17:53:51 +0100 + adios4dolfinx (0.7.3-6) unstable; urgency=medium * big-endian (s390x): skip test_mesh_read_write diff -Nru adios4dolfinx-0.7.3/debian/tests/test-adios4dolfinx adios4dolfinx-0.7.3/debian/tests/test-adios4dolfinx --- adios4dolfinx-0.7.3/debian/tests/test-adios4dolfinx 2024-02-27 00:13:48.000000000 +0000 +++ adios4dolfinx-0.7.3/debian/tests/test-adios4dolfinx 2024-02-27 16:53:51.000000000 +0000 @@ -1,22 +1,15 @@ #!/bin/bash set -e +# s390x segfaults in all known tests. Something is amiss. +# Adios2 upstream acknowledges big-endian support is not tested. +# (some adios2 and dolfinx VTX tests fail, some pass) +# Assume all big-endian systems will fail adios4dolfinx and skip them all. DEB_HOST_ARCH_ENDIAN=$(dpkg-architecture -qDEB_HOST_ARCH_ENDIAN) - -# big-endian systems such as s390x are expected to fail. -# Run their tests anyway to check status, but ignore the failure if [ "x${DEB_HOST_ARCH_ENDIAN}" = "xbig" ]; then - # s390x segfaults in test_checkpointing.py: - # File "src/tests/test_utils.py", line 36 in write_function - # File "src/tests/test_checkpointing.py", line 58 in test_read_write_P_2D - TEST_SELECTION="not (test_read_write or test_mesh_read_write)" - errstream=/dev/stdout - ignore_error=true + echo "Adios2 support is not tested on big-endian systems." else - errstream=/dev/stderr - ignore_error=false + for pyver in `py3versions -sv`; do + ${MPIEXEC} python$pyver -m pytest -k "${TEST_SELECTION}" tests + done fi - -for pyver in `py3versions -sv`; do - ${MPIEXEC} python$pyver -m pytest -k "${TEST_SELECTION}" tests 2>$errstream || ${ignore_error} -done