[med-svn] [Git][med-team/ncbi-tools6][master] Autopkgtest: modified test for asnmacro

Liubov Chuprikova gitlab at salsa.debian.org
Thu Apr 5 11:30:56 BST 2018


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


Commits:
d4991ff8 by Liubov Chuprikova at 2018-04-05T10:29:06+00:00
Autopkgtest: modified test for asnmacro

- - - - -


1 changed file:

- debian/tests/run-unit-test


Changes:

=====================================
debian/tests/run-unit-test
=====================================
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -9,7 +9,8 @@ if [ "$AUTOPKGTEST_TMP" = "" ] ; then
 fi
 cd $AUTOPKGTEST_TMP
 cp -a /usr/share/doc/${pkg}/test-data/* .
-cp /usr/share/doc/${pkg}/{asnpub.all.gz,medline.ent} . 
+cp /usr/share/doc/${pkg}/{asnpub.all.gz,medline.ent} .
+cp /usr/share/ncbi/data/autofix.prt .
 gunzip *.gz
 
 echo '---asn2all test---'
@@ -49,8 +50,7 @@ echo '---asnval test---'
 [ ! -s nc0305.val ] # empty
 
 echo '---asnmacro test---'
-echo 'Macro-action-list ::= { fix-spell NULL }' > macro.asn
-/usr/bin/asnmacro -i nc0305.aso -b -m macro.asn -o asnmacro.output
+/usr/bin/asnmacro -i nc0305.aso -b -m autofix.prt -o asnmacro.output
 [ -s asnmacro.output ]
 
 echo '---asntool test---'



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

---
View it on GitLab: https://salsa.debian.org/med-team/ncbi-tools6/commit/d4991ff88d2fa78c03f9485ebd8da54742f8b61d
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/21375cec/attachment-0001.html>


More information about the debian-med-commit mailing list