File: fix_tests.patch

package info (click to toggle)
readseq 1-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 780 kB
  • sloc: ansic: 10,165; makefile: 424; sh: 32
file content (40 lines) | stat: -rw-r--r-- 1,415 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Author: Liubov Chuprikova <chuprikovalv@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"