[med-svn] [phyml] 04/06: Test single processor and MPI in autopkgtest

Andreas Tille tille at debian.org
Tue Jan 31 14:59:45 UTC 2017


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

tille pushed a commit to branch master
in repository phyml.

commit bd2bc4e5dd953dce31cce7e2f940607d2ba6044a
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jan 31 15:16:34 2017 +0100

    Test single processor and MPI in autopkgtest
---
 debian/changelog           |  1 +
 debian/tests/run-unit-test | 17 ++++++++++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bc7354c..8e4af06 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ phyml (3:3.2.0+dfsg-6) UNRELEASED; urgency=medium
   * Enable to switch of MPI version via environment variable since there
     are circumstances when it leads to wrong results
     Closes: #853738
+  * Test single processor and MPI in autopkgtest
 
  -- Andreas Tille <tille at debian.org>  Tue, 31 Jan 2017 11:00:10 +0100
 
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 5a4c361..4526244 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -15,13 +15,24 @@ gunzip *.gz
 
 export OMPI_MCA_plm_rsh_agent=/bin/false
 
-echo "DNA interleaved sequence file, default parameters :"
+export PHYMLCPUS=1
+echo "DNA interleaved sequence file, default parameters single processor:"
 /usr/bin/phyml -i nucleic
 
-echo "AA interleaved sequence file, default parameters :"
+echo "AA interleaved sequence file, default parameters single processor:"
 /usr/bin/phyml -i proteic -d aa
 
-echo "AA sequential sequence file, with customization :"
+echo "AA sequential sequence file, with customization single processor:"
+/usr/bin/phyml -i example.nex -d nt -c 4 -a e
+
+export PHYMLCPUS=2
+echo "DNA interleaved sequence file, default parameters using $PHYMLCPUS processors:"
+/usr/bin/phyml -i nucleic
+
+echo "AA interleaved sequence file, default parameters using $PHYMLCPUS processors:"
+/usr/bin/phyml -i proteic -d aa
+
+echo "AA sequential sequence file, with customization using $PHYMLCPUS processors:"
 /usr/bin/phyml -i example.nex -d nt -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