[med-svn] [phyml] 01/01: autopkgtest added

Canberk Koç cbk-guest at moszumanska.debian.org
Wed Jul 20 00:02:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

cbk-guest pushed a commit to branch master
in repository phyml.

commit fd0ac4bf64a3defe1de23f28fe02ba391fa3ad7e
Author: cbk-guest <cbk-guests at scm.alioth.debian.org>
Date:   Wed Jul 20 03:02:46 2016 +0300

    autopkgtest added
---
 debian/changelog           |  7 ++++++-
 debian/phyml.examples      |  1 +
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 25 +++++++++++++++++++++++++
 4 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 59032d6..4d5eb46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 phyml (3:3.2.0+dfsg-2) unstable; urgency=medium
 
+  * Team upload
+
   [ Kevin Murray ]
   * Fix VCS link in d/control
   * Patch for reproduible build (configure.ac date)
@@ -8,7 +10,10 @@ phyml (3:3.2.0+dfsg-2) unstable; urgency=medium
   [ Andreas Tille ]
   * Enable MPI version of phyml
 
- -- Andreas Tille <tille at debian.org>  Mon, 14 Mar 2016 12:52:14 +0100
+  [ Canberk Koç ]
+  * autopkgtest added
+
+ -- Canberk Koç <canberkkoc at gmail.com>  Wed, 20 Jul 2016 03:01:14 +0300
 
 phyml (3:3.2.0+dfsg-1) unstable; urgency=medium
 
diff --git a/debian/phyml.examples b/debian/phyml.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/phyml.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d2aa55a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..32b94b5
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,25 @@
+#!/bin/bash
+set -e
+
+pkg="phyml"
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
+
+cd $AUTOPKGTEST_TMP
+
+gunzip *.gz
+
+echo "DNA interleaved sequence file, default parameters :"
+/usr/bin/phyml -i nucleic
+
+echo "AA interleaved sequence file, default parameters :"
+/usr/bin/phyml -i proteic -d aa
+
+echo "AA sequential sequence file, with customization :"
+/usr/bin/phyml -i nexus_example.nxs -q -d aa -m JTT -c 4 -a e
+
+echo "PASS"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/phyml.git



More information about the debian-med-commit mailing list