[med-svn] [Git][med-team/ncbi-tools6][master] Autopkgtest: changed test data file to smaller one

Liubov Chuprikova gitlab at salsa.debian.org
Thu Apr 5 12:03:53 BST 2018


Liubov Chuprikova pushed to branch master at Debian Med / ncbi-tools6


Commits:
4ff9301c by Liubov Chuprikova at 2018-04-05T10:59:57+00:00
Autopkgtest: changed test data file to smaller one

- - - - -


5 changed files:

- debian/copyright
- debian/source/include-binaries
- debian/tests/run-unit-test
- + debian/tests/test-data/nc0225.aso.gz
- − debian/tests/test-data/nc0305.aso.gz


Changes:

=====================================
debian/copyright
=====================================
--- a/debian/copyright
+++ b/debian/copyright
@@ -13,13 +13,13 @@ Copyright: 1998-1999 Stephane Bortzmeyer <bortzmeyer at pasteur.fr>
            2001-2017 Aaron M. Ucko <ucko at debian.org>
 License: public_domain
 
-Files: debian/tests/test-data/nc0305.aso.gz
+Files: debian/tests/test-data/nc0225.aso.gz
        debian/tests/test-data/dsRNA_viruses.ags.gz
 Copyright: 1996-2018 NCBI 
 License: public_domain
 Comment: 
  To dowload the files use:
-    wget ftp://ftp.ncbi.nih.gov/ncbi-asn1/daily-nc/nc0305.aso.gz
+    wget ftp://ftp.ncbi.nih.gov/ncbi-asn1/daily-nc/nc0225.aso.gz
     wget ftp://ftp.ncbi.nlm.nih.gov/gene/DATA/ASN_BINARY/Viruses/dsRNA_viruses.ags.gz
 
 Files: debian/tests/test-data/trnascan-se_sample.output


=====================================
debian/source/include-binaries
=====================================
--- a/debian/source/include-binaries
+++ b/debian/source/include-binaries
@@ -1,2 +1,2 @@
-debian/tests/test-data/nc0305.aso.gz
+debian/tests/test-data/nc0225.aso.gz
 debian/tests/test-data/dsRNA_viruses.ags.gz


=====================================
debian/tests/run-unit-test
=====================================
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -14,43 +14,43 @@ cp /usr/share/ncbi/data/autofix.prt .
 gunzip *.gz
 
 echo '---asn2all test---'
-/usr/bin/asn2all -i nc0305.aso -b -f g -o nc0305.nuc -v nc0305.prt
-[ -s nc0305.nuc ]
-[ -s nc0305.prt ]
+/usr/bin/asn2all -i nc0225.aso -b -f g -o nc0225.nuc -v nc0225.prt
+[ -s nc0225.nuc ]
+[ -s nc0225.prt ]
 
 echo '---asn2asn test---'
-/usr/bin/asn2asn -i nc0305.aso -b -o nc0305.text
-[ -s nc0305.text ]
+/usr/bin/asn2asn -i nc0225.aso -b -o nc0225.text
+[ -s nc0225.text ]
 
 echo '---asn2fsa test---'
-/usr/bin/asn2fsa -i nc0305.aso -b -a t -o nc0305.fna -v nc0305.faa
-[ -s nc0305.fna ]
-[ -s nc0305.faa ]
+/usr/bin/asn2fsa -i nc0225.aso -b -a t -o nc0225.fna -v nc0225.faa
+[ -s nc0225.fna ]
+[ -s nc0225.faa ]
 
 echo '---asn2gb test---'
-/usr/bin/asn2gb -i nc0305.aso -b -a t -o nc0305.gbk
-[ -s nc0305.gbk ]
+/usr/bin/asn2gb -i nc0225.aso -b -a t -o nc0225.gbk
+[ -s nc0225.gbk ]
 
 echo '---asn2idx test---'
-/usr/bin/asn2idx -b -p . < nc0305.aso
-[ -s nc0305.idx ]
+/usr/bin/asn2idx -b -p . < nc0225.aso
+[ -s nc0225.idx ]
 [ -s master.idx ]
 
 echo '---asn2xml test---'
-/usr/bin/asn2xml -i nc0305.aso -o nc0305.xml
-[ -s nc0305.xml ]
+/usr/bin/asn2xml -i nc0225.aso -o nc0225.xml
+[ -s nc0225.xml ]
 
 echo '---asndisc test---'
-/usr/bin/asndisc -i nc0305.aso -b -a t -o nc0305.disc
-[ -s nc0305.disc ]
+/usr/bin/asndisc -i nc0225.aso -b -a t -o nc0225.disc
+[ -s nc0225.disc ]
 
 echo '---asnval test---'
-/usr/bin/asnval -i nc0305.aso -b -a t -o nc0305.val
-[ -f nc0305.val ]
-[ ! -s nc0305.val ] # empty
+/usr/bin/asnval -i nc0225.aso -b -a t -o nc0225.val
+[ -f nc0225.val ]
+[ ! -s nc0225.val ] # empty
 
 echo '---asnmacro test---'
-/usr/bin/asnmacro -i nc0305.aso -b -m autofix.prt -o asnmacro.output
+/usr/bin/asnmacro -i nc0225.aso -b -m autofix.prt -o asnmacro.output
 [ -s asnmacro.output ]
 
 echo '---asntool test---'
@@ -58,8 +58,8 @@ echo '---asntool test---'
 [ -s asntool.output ]
 
 echo '---cleanasn test---'
-/usr/bin/cleanasn -b -a t -D t -i nc0305.aso -o nc0305_cleaned.aso
-[ -s nc0305_cleaned.aso ]
+/usr/bin/cleanasn -b -a t -D t -i nc0225.aso -o nc0225_cleaned.aso
+[ -s nc0225_cleaned.aso ]
 
 echo '---debruijn test---'
 /usr/bin/debruijn -a ncbistdaa -n 4 > debruijn.output
@@ -69,7 +69,7 @@ echo '---gene2xml test---'
 /usr/bin/gene2xml -b -i dsRNA_viruses.ags -o dsRNA_viruses.xgs
 [ -s dsRNA_viruses.xgs ]
 
-grep 'GI:' nc0305.gbk | head | sed 's/.*GI://' > GIs.txt
+grep 'GI:' nc0225.gbk | head | sed 's/.*GI://' > GIs.txt
 # _insdseqget_ and _idfetch_ testing requires internet connection.
 # Comment the lines below to skip the testing.
 echo '---insdseqget test---'


=====================================
debian/tests/test-data/nc0225.aso.gz
=====================================
Binary files /dev/null and b/debian/tests/test-data/nc0225.aso.gz differ


=====================================
debian/tests/test-data/nc0305.aso.gz deleted
=====================================
Binary files a/debian/tests/test-data/nc0305.aso.gz and /dev/null differ



View it on GitLab: https://salsa.debian.org/med-team/ncbi-tools6/commit/4ff9301c215bfb41c1c5f25b5d2a9216c52eb9cc

---
View it on GitLab: https://salsa.debian.org/med-team/ncbi-tools6/commit/4ff9301c215bfb41c1c5f25b5d2a9216c52eb9cc
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180405/bdd73ee9/attachment-0001.html>


More information about the debian-med-commit mailing list