[med-svn] [Git][med-team/bamtools][master] Exclude test that times out on arm64

Andreas Tille gitlab at salsa.debian.org
Wed Jan 27 07:25:43 GMT 2021



Andreas Tille pushed to branch master at Debian Med / bamtools


Commits:
3aead7b7 by Andreas Tille at 2021-01-27T07:24:24+00:00
Exclude test that times out on arm64

- - - - -


2 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+bamtools (2.5.1+dfsg-8) UNRELEASED; urgency=medium
+
+  * Exclude test that times out on arm64
+
+ -- Andreas Tille <tille at debian.org>  Wed, 27 Jan 2021 07:23:01 +0000
+
 bamtools (2.5.1+dfsg-7) unstable; urgency=medium
 
   * Override dh_auto_install-indep


=====================================
debian/tests/run-unit-test
=====================================
@@ -22,10 +22,15 @@ bamtools count -in sam_spec_example.bam
 bamtools coverage -in sam_spec_example.bam -out out
 
 # This test fails on ppc64el for whatever reason and is for the moment (see bug #933505)
-if [ "$(dpkg --print-architecture)" != "ppc64el" ] ; then
+ARCH=$(dpkg --print-architecture)
+if [ "$ARCH" != "ppc64el" -a "$ARCH" != "arm64" ] ; then
    bamtools filter -script filter_script -in sam_spec_example.bam -out out.bam
 else
-   echo "The following test is known to fail on ppc64el architecture (see bug #933505)"
+   if [ "$ARCH" = "ppc64el" ] ; then
+      echo "The following test is known to fail on ppc64el architecture (see bug #933505)"
+   else
+      echo "The following test is known to time out on arm64 architecture (see bug #953939)"
+   fi
    echo "bamtools filter -script filter_script -in sam_spec_example.bam -out out.bam"
 fi
 



View it on GitLab: https://salsa.debian.org/med-team/bamtools/-/commit/3aead7b77013425fc6faa7c725d7810f02528727

-- 
View it on GitLab: https://salsa.debian.org/med-team/bamtools/-/commit/3aead7b77013425fc6faa7c725d7810f02528727
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/20210127/ba953994/attachment-0001.html>


More information about the debian-med-commit mailing list