[med-svn] [Git][med-team/readseq][master] Add a patch to fix tests

Liubov Chuprikova gitlab at salsa.debian.org
Sat Jun 23 11:39:15 BST 2018


Liubov Chuprikova pushed to branch master at Debian Med / readseq


Commits:
d1736b05 by Liubov Chuprikova at 2018-06-23T12:37:52+02:00
Add a patch to fix tests

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/fix_tests.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+readseq (1-13) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add a patch to fix tests
+
+ -- Liubov Chuprikova <chuprikovalv at gmail.com>  Sat, 23 Jun 2018 12:29:20 +0200
+
 readseq (1-12) unstable; urgency=medium
 
   * Moved packaging from SVN to Git


=====================================
debian/patches/fix_tests.patch
=====================================
--- /dev/null
+++ b/debian/patches/fix_tests.patch
@@ -0,0 +1,40 @@
+Author: Liubov Chuprikova <chuprikovalv at gmail.com>
+Last-Update: Sat, 23 June 2018 11:27:32 +0200
+Description: Fix a checksum in alphabet.std (see how the file was generated in
+Stdfiles). Turn off a testing of NCBI ASN.1 conversions and indicate that it
+works improperly.
+
+--- a/alphabet.std
++++ b/alphabet.std
+@@ -1,3 +1,3 @@
+->alphabet['!'..'~'], 83 bases, 9429 checksum.
++>alphabet['!'..'~'], 83 bases, E14ECBE2 checksum.
+ !"#$%&'()*+-./:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]
+ ^_`abcdefghijklmnopqrstuvwxyz{|}~
+--- a/Makefile
++++ b/Makefile
+@@ -82,13 +82,19 @@
+ 	./readseq -p -f=paup  test.m-msf  -otest.m-paup
+ 	./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:"
+-	./readseq -p -f=asn test.m-ig  -otest.m-asn
+-	./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:"
++#	./readseq -p -f=asn test.m-ig  -otest.m-asn
++#	./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"


=====================================
debian/patches/series
=====================================
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ gcc-4.6_format-security.patch
 enable_tests.patch
 hardening.patch
 buffer_overflow.patch
+fix_tests.patch



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

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


More information about the debian-med-commit mailing list