[med-svn] [Git][med-team/nibabel][master] skip one test on s390x

Alexandre Detiste (@detiste-guest) gitlab at salsa.debian.org
Sun Dec 1 13:58:53 GMT 2024



Alexandre Detiste pushed to branch master at Debian Med / nibabel


Commits:
71c68e92 by Alexandre Detiste at 2024-12-01T14:57:47+01:00
skip one test on s390x

- - - - -


2 changed files:

- debian/changelog
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,14 @@
+nibabel (5.3.2-2) unstable; urgency=medium
+
+  * Team upload.
+  * Skip test test_legacy_underscore_content on s390x
+    (endianness is hardcoded in test)
+
+ -- Alexandre Detiste <tchet at debian.org>  Sun, 01 Dec 2024 14:54:39 +0100
+
 nibabel (5.3.2-1) unstable; urgency=medium
 
+  * Team upload.
   * New upstream version 5.3.2 (Closes: #1088757)
   * Refresh patches
   * Use dh-sequence-python3


=====================================
debian/tests/run-unit-test
=====================================
@@ -1,8 +1,21 @@
 #!/bin/bash
 set -efu
 
+# logic copied from nipype
+
+# 'nipype.interfaces.io.BIDSDataGrabber' obviously
+# does not exists here but I don't want to waste
+# too much time on s390x arch without real users.
+SKIP_TEST="not nipype.interfaces.io.BIDSDataGrabber"
+arch=$(dpkg-architecture -qDEB_HOST_ARCH)
+# skip tests
+if [ "$arch" = "s390x" ]; then
+    SKIP_TEST=$SKIP_TEST" and not test_legacy_underscore_content"
+fi
+
+
 for py in $(py3versions --supported)
 do
-	$py -m pytest -v nibabel
+	$py -m pytest -k "$SKIP_TEST" -v nibabel
 done
 



View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/commit/71c68e928fc54eb66fbfaf8a0791ce557ff2861d

-- 
View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/commit/71c68e928fc54eb66fbfaf8a0791ce557ff2861d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20241201/a9dce447/attachment-0001.htm>


More information about the debian-med-commit mailing list