Bug#1090766: fenics-basix: autopkgtests time out on armel with multiple supported Python versions
Colin Watson
cjwatson at debian.org
Wed Dec 18 23:32:24 GMT 2024
Source: fenics-basix
Version: 0.9.0-2
Severity: important
Tags: patch
https://ci.debian.net/packages/f/fenics-basix/testing/armel/ shows that
this package's autopkgtests consistently time out on armel when there
are multiple Python versions, since of course that essentially doubles
the run-time of the tests. I notice this code in
debian/tests/run-tests:
# riscv64 times out when running tests, so skip the slowest of them
if [ "x$DEB_HOST_ARCH" = "xriscv64" ]; then
# run verbose to monitor failing tests
VERBOSE_TESTS="-v"
SKIP_TEST_LIST=(${SKIP_TEST_LIST[@]} test_dof_transformations.py test_interpolation_between_elements.py)
fi
Could you please extend that to armel? Patch follows.
diff --git a/debian/tests/run-tests b/debian/tests/run-tests
index daef04b..6ee4ed2 100755
--- a/debian/tests/run-tests
+++ b/debian/tests/run-tests
@@ -9,12 +9,14 @@ declare -a SKIP_TEST_LIST
# skip numba tests due to limited availability
SKIP_TEST_LIST=(numba)
-# riscv64 times out when running tests, so skip the slowest of them
-if [ "x$DEB_HOST_ARCH" = "xriscv64" ]; then
- # run verbose to monitor failing tests
- VERBOSE_TESTS="-v"
- SKIP_TEST_LIST=(${SKIP_TEST_LIST[@]} test_dof_transformations.py test_interpolation_between_elements.py)
-fi
+# armel and riscv64 time out when running tests, so skip the slowest of them
+case $DEB_HOST_ARCH in
+ armel|riscv64)
+ # run verbose to monitor failing tests
+ VERBOSE_TESTS="-v"
+ SKIP_TEST_LIST=(${SKIP_TEST_LIST[@]} test_dof_transformations.py test_interpolation_between_elements.py)
+ ;;
+esac
echo "skipping tests with SKIP_TEST_LIST=${SKIP_TEST_LIST[@]}"
Thanks,
--
Colin Watson (he/him) [cjwatson at debian.org]
More information about the debian-science-maintainers
mailing list