[med-svn] [Git][med-team/fastdnaml][master] Add autopkgtest

Liubov Chuprikova gitlab at salsa.debian.org
Sun Jul 8 12:48:01 BST 2018


Liubov Chuprikova pushed to branch master at Debian Med / fastdnaml


Commits:
33df73ad by Liubov Chuprikova at 2018-07-08T14:47:16+03:00
Add autopkgtest

- - - - -


5 changed files:

- + debian/README.test
- debian/changelog
- debian/docs
- debian/tests/Makefile
- + debian/tests/control


Changes:

=====================================
debian/README.test
=====================================
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,6 @@
+You can test this package by
+
+   cd `mktemp -d`
+   cp /usr/share/doc/fastdnaml/examples/tests/Makefile .
+   make test
+


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,12 @@
 fastdnaml (1.2.2-13) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * Add registry entry
 
+  [ Liubov Chuprikova ]
+  * Add autopkgtest
+    Closes: #890787
+
  -- Andreas Tille <tille at debian.org>  Wed, 27 Sep 2017 15:35:27 +0200
 
 fastdnaml (1.2.2-12) unstable; urgency=medium


=====================================
debian/docs
=====================================
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1,2 @@
 docs/fastDNAml_scripts.txt
+debian/README.test


=====================================
debian/tests/Makefile
=====================================
--- a/debian/tests/Makefile
+++ b/debian/tests/Makefile
@@ -1,16 +1,18 @@
+#!/usr/bin/make -f
 # Samples and tests by Catherine Letondal <letondal at pasteur.fr>
 
+TEST_DATA = /usr/share/doc/fastdnaml/examples/tests/fastdnaml.data
 
 test:	fastDNAml fastDNAml_boot
 
 oldfastDNAml:
-	cat fastdnaml.data | fastDNAml-util frequencies | fastDNAml-util printdata | fastDNAml-util treefile | fastDNAml > fastdnaml.out ; fastDNAml-util clean_checkpoints
+	cat $(TEST_DATA) | fastDNAml-util frequencies | fastDNAml-util printdata | fastDNAml-util treefile | fastDNAml > fastdnaml.out ; fastDNAml-util clean_checkpoints
 
 fastDNAml:
-	cat fastdnaml.data | fastDNAml-util printdata | fastDNAml > fastdnaml.out ; fastDNAml-util clean_checkpoints
+	cat $(TEST_DATA) | fastDNAml-util printdata | fastDNAml > fastdnaml.out ; fastDNAml-util clean_checkpoints
 
 fastDNAml_boot:
-	cat fastdnaml.data | fastDNAml-util printdata  > fastdnaml.data.tmp; fastDNAml-util fastDNAml_boot -out -boots 2 -max 2 fastdnaml.data.tmp 2
+	cat $(TEST_DATA) | fastDNAml-util printdata  > fastdnaml.data.tmp; fastDNAml-util fastDNAml_boot -out -boots 2 -max 2 fastdnaml.data.tmp 2
 
 clean:
 	rm -f *.tmp* 


=====================================
debian/tests/control
=====================================
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: Makefile
+Depends: @



View it on GitLab: https://salsa.debian.org/med-team/fastdnaml/commit/33df73ad2291ff9f61844ed079d3977b1d32d603

-- 
View it on GitLab: https://salsa.debian.org/med-team/fastdnaml/commit/33df73ad2291ff9f61844ed079d3977b1d32d603
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/20180708/a38c9a28/attachment-0001.html>


More information about the debian-med-commit mailing list