[med-svn] [Git][med-team/scrappie][master] Skip one assertion test on ppc64el
Nilesh Patra
gitlab at salsa.debian.org
Sat Apr 3 20:11:41 BST 2021
Nilesh Patra pushed to branch master at Debian Med / scrappie
Commits:
753b9239 by Nilesh Patra at 2021-04-04T00:41:25+05:30
Skip one assertion test on ppc64el
- - - - -
2 changed files:
- debian/changelog
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+scrappie (1.4.2-7) unstable; urgency=medium
+
+ * Skip one assertion test on ppc64el
+
+ -- Nilesh Patra <nilesh at debian.org> Sun, 04 Apr 2021 00:40:23 +0530
+
scrappie (1.4.2-6) unstable; urgency=medium
* Allow build-time test to fail on ppc64el
=====================================
debian/tests/run-unit-test
=====================================
@@ -23,11 +23,16 @@ scrappie raw -f sam reads --min_prob=0.1 --format=FASTA --output=test1.fa
head -n 1 test1.fa
echo "PASS"
+hostarch=$(dpkg-architecture -qDEB_HOST_ARCH)
+if [ "$hostarch" = "ppc64el" ] ; then
+ echo "Skip Test 2 on $hostarch"
+else
echo "Test 2"
scrappie events reads > test2.fa
head -n 1 test2.fa
[ -s test2.fa ]
echo "PASS"
+fi
hostarch=$(dpkg-architecture -qDEB_HOST_ARCH)
if [ "$hostarch" = "armhf" ] ; then
View it on GitLab: https://salsa.debian.org/med-team/scrappie/-/commit/753b92395373b80736762c11880a2b80b10d2a77
--
View it on GitLab: https://salsa.debian.org/med-team/scrappie/-/commit/753b92395373b80736762c11880a2b80b10d2a77
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/20210403/95c4358f/attachment.htm>
More information about the debian-med-commit
mailing list