[med-svn] [Git][med-team/readseq][master] Add autopkgtest

Liubov Chuprikova gitlab at salsa.debian.org
Sat Jun 23 11:46:26 BST 2018


Liubov Chuprikova pushed to branch master at Debian Med / readseq


Commits:
ccaf2c41 by Liubov Chuprikova at 2018-06-23T12:45:07+02:00
Add autopkgtest

- - - - -


3 changed files:

- debian/changelog
- debian/tests/Makefile
- + debian/tests/control


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ readseq (1-13) UNRELEASED; urgency=medium
 
   * Team upload.
   * Add a patch to fix tests
+  * Add autopkgtest
+    Closes: #890784
 
  -- Liubov Chuprikova <chuprikovalv at gmail.com>  Sat, 23 Jun 2018 12:29:20 +0200
 


=====================================
debian/tests/Makefile
=====================================
--- a/debian/tests/Makefile
+++ b/debian/tests/Makefile
@@ -1,10 +1,12 @@
+#!/usr/bin/make -f
+
 #
 # Makefile for testing readseq
 # to use, command me:
 #  %  make test
 #
 
-test: 
+test:
 	@echo ""
 	@echo "Test for general read/write of all chars:"
 	/usr/bin/readseq -p alphabet.std -otest.alpha
@@ -36,13 +38,19 @@ test:
 	/usr/bin/readseq -p -f=paup  test.m-msf  -otest.m-paup
 	/usr/bin/readseq -p -f=ig    test.m-paup -otest.m-ig-b
 	-diff test.m-ig test.m-ig-b
+
+# !!!!!
+# Conversion to NCBI ASN.1 works improperly!!! It is very likely due to some
+# changes in ASN.1 format specifications that this program does not take into
+# account. At least, it allows inappropriate encoding to be stored as ASN.1
+# data.
 #
 # if using NCBI, uncomment these lines
-	@echo ""
-	@echo "Test of NCBI ASN.1 conversions:"
-	/usr/bin/readseq -p -f=asn test.m-ig  -otest.m-asn
-	/usr/bin/readseq -p -f=ig  test.m-asn -otest.m-ig-c
-	-diff test.m-ig test.m-ig-c
+#	@echo ""
+#	@echo "Test of NCBI ASN.1 conversions:"
+#	/usr/bin/readseq -p -f=asn test.m-ig  -otest.m-asn
+#	/usr/bin/readseq -p -f=ig  test.m-asn -otest.m-ig-c
+#	-diff test.m-ig test.m-ig-c
 #
 	@echo ""
 	@echo "Expect differences in the header lines due to"
@@ -55,5 +63,3 @@ test:
 
 clean:
 	rm -f test.*
-
-


=====================================
debian/tests/control
=====================================
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: Makefile
+Depends: @
+Restrictions: allow-stderr



View it on GitLab: https://salsa.debian.org/med-team/readseq/commit/ccaf2c4175a19e19322e712117c90d42d74f7afc

-- 
View it on GitLab: https://salsa.debian.org/med-team/readseq/commit/ccaf2c4175a19e19322e712117c90d42d74f7afc
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/20180623/f9da43a8/attachment-0001.html>


More information about the debian-med-commit mailing list