[med-svn] [Git][med-team/scrappie][master] Skip flaky test for armhf

Andreas Tille gitlab at salsa.debian.org
Sat Apr 3 06:48:46 BST 2021



Andreas Tille pushed to branch master at Debian Med / scrappie


Commits:
c0863837 by Andreas Tille at 2021-04-03T07:47:58+02:00
Skip flaky test for armhf

- - - - -


2 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+scrappie (1.4.2-5) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Skip flaky test for armhf
+    Closes: #986307
+
+ -- Andreas Tille <tille at debian.org>  Sat, 03 Apr 2021 07:47:34 +0200
+
 scrappie (1.4.2-4) unstable; urgency=medium
 
   [ Nilesh Patra ]


=====================================
debian/tests/run-unit-test
=====================================
@@ -29,9 +29,13 @@ head -n 1 test2.fa
 [ -s test2.fa ]
 echo "PASS"
 
-echo "Test 3"
-scrappie raw reads | tee test2.fa | grep '^>' | cut -d ' ' -f 2- | python3 misc/json_to_tsv.py > test3.tsv
-[ -s test3.tsv ]
-cat test3.tsv
-echo "PASS"
-
+hostarch=$(dpkg-architecture -qDEB_HOST_ARCH)
+if [ "$hostarch" = "armhf" ] ; then
+    echo "Skip Test 3 on $hostarch (see bug #986307)"
+else
+    echo "Test 3"
+    scrappie raw reads | tee test2.fa | grep '^>' | cut -d ' ' -f 2- | python3 misc/json_to_tsv.py > test3.tsv
+    [ -s test3.tsv ]
+    cat test3.tsv
+    echo "PASS"
+fi



View it on GitLab: https://salsa.debian.org/med-team/scrappie/-/commit/c0863837f76b90786db2216b813d61b3e7d36b2c

-- 
View it on GitLab: https://salsa.debian.org/med-team/scrappie/-/commit/c0863837f76b90786db2216b813d61b3e7d36b2c
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/68214c57/attachment-0001.htm>


More information about the debian-med-commit mailing list