Commit ccaf2c41 authored by Liubov Chuprikova's avatar Liubov Chuprikova
Browse files

Add autopkgtest

parent d1736b05
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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@gmail.com>  Sat, 23 Jun 2018 12:29:20 +0200

+14 −8
Original line number Diff line number Diff line
#!/usr/bin/make -f

#
# Makefile for testing readseq
# to use, command me:
@@ -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

0 → 100644
+3 −0
Original line number Diff line number Diff line
Tests: Makefile
Depends: @
Restrictions: allow-stderr