[med-svn] [Git][med-team/biobambam2][master] 2 commits: d/t/run-unit-test: skip bamsormadup test on i386

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Fri Aug 27 21:38:32 BST 2021



Étienne Mollier pushed to branch master at Debian Med / biobambam2


Commits:
718cc055 by Étienne Mollier at 2021-08-27T16:12:07+02:00
d/t/run-unit-test: skip bamsormadup test on i386

The memory requirements exceed the capabilities of virtual memory
on that architecture, leading to test failure.  Other tests should
be passing fine.

- - - - -
8671b175 by Étienne Mollier at 2021-08-27T22:37:57+02:00
update changelog

- - - - -


2 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+biobambam2 (2.0.183+ds-2) UNRELEASED; urgency=medium
+
+  * d/t/run-unit-test: skip bamsormadup test on i386; allows substancial
+    autopkgtest on that architecture as well.
+
+ -- Étienne Mollier <emollier at debian.org>  Fri, 27 Aug 2021 16:40:22 +0200
+
 biobambam2 (2.0.183+ds-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/tests/run-unit-test
=====================================
@@ -17,8 +17,15 @@ cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
 cd "${AUTOPKGTEST_TMP}"
 
 echo -e "\e[93m\e[1mTest 1\e[0m"
-bamsormadup < SRR11728627.bam > SRR11728627.sorted.bam
-echo -e "\e[92m\e[1mPassed\e[0m"
+case "$(dpkg --print-architecture)" in
+i386)
+	echo -e "\e[91m\e[1mSkipped on i386 due to memory requirements\e[0m"
+	;;
+*)
+	bamsormadup < SRR11728627.bam > SRR11728627.sorted.bam
+	echo -e "\e[92m\e[1mPassed\e[0m"
+	;;
+esac
 echo
 
 echo -e "\e[93m\e[1mTest 2\e[0m"



View it on GitLab: https://salsa.debian.org/med-team/biobambam2/-/compare/81dd7b7e23e1dcc763939c7b75df933c6bd84638...8671b1757298f38d5488eb8033a567756e02c2d0

-- 
View it on GitLab: https://salsa.debian.org/med-team/biobambam2/-/compare/81dd7b7e23e1dcc763939c7b75df933c6bd84638...8671b1757298f38d5488eb8033a567756e02c2d0
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/20210827/931dc3e0/attachment-0001.htm>


More information about the debian-med-commit mailing list