[med-svn] [Git][med-team/mmseqs2][master] Autopkgtest now works
Shayan Doust
gitlab at salsa.debian.org
Tue Jul 16 18:58:31 BST 2019
Shayan Doust pushed to branch master at Debian Med / mmseqs2
Commits:
91a82e4f by Shayan Doust at 2019-07-16T08:21:23Z
Autopkgtest now works
- - - - -
2 changed files:
- + debian/mmseqs2.install
- debian/tests/run-unit-test
Changes:
=====================================
debian/mmseqs2.install
=====================================
@@ -0,0 +1 @@
+obj-x86_64-linux-gnu/src/test usr/share/doc/mmseqs2
=====================================
debian/tests/run-unit-test
=====================================
@@ -1,18 +1,60 @@
#!/bin/bash
set -e
-pkg=#PACKAGENAME#
+pkg=mmseqs2
if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
- # Double quote below to expand the temporary directory variable now versus
- # later is on purpose.
- # shellcheck disable=SC2064
trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
fi
-cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+cp -r /usr/share/doc/${pkg}/test "${AUTOPKGTEST_TMP}"
-cd "${AUTOPKGTEST_TMP}"
+cd "${AUTOPKGTEST_TMP}"/test
+rm -r CMakeFiles cmake_install.cmake
+gunzip *
+chmod +x *
-#do_stuff_to_test_package#
+# Notice: Some tests have been excluded as they have user directories hard-coded.
+# ... Maybe a patch soon to rectify this.
+
+echo "Invoking test_alignment"
+./test_alignment
+echo "Invoking test_alignmentraceback"
+./test_alignmenttraceback
+echo "Invoking test_alp"
+./test_alp
+echo "Invoking test_backtracetranslator"
+./test_backtracetranslator
+echo "Invoking test_compositionbias"
+./test_compositionbias
+echo "Invoking test_kmergenerator"
+./test_kmergenerator
+echo "Invoking test_kmernucl"
+./test_kmernucl
+echo "Invoking test_kmerscore"
+./test_kmerscore
+echo "Invoking test_ksw2"
+./test_ksw2
+echo "Invoking test_kwaymerge"
+./test_kwaymerge
+echo "Invoking test_multiplealignment"
+./test_multiplealignment
+echo "Invoking test_profilealignment"
+./test_profilealignment
+echo "Invoking test_profilestates"
+./test_profilestates
+echo "Invoking test_pssm"
+./test_pssm
+echo "Invoking test_pssmprune"
+./test_pssmprune
+echo "Invoking test_reducematrix"
+./test_reducematrix
+echo "Invoking test_sequenceindex"
+./test_sequenceindex
+echo "Invoking test_tantan"
+./test_tantan
+echo "Invoking test_translate"
+./test_translate
+echo "Invoking test_util"
+./test_util
View it on GitLab: https://salsa.debian.org/med-team/mmseqs2/commit/91a82e4f1199dad44aaf132d868c8c2a082fecb0
--
View it on GitLab: https://salsa.debian.org/med-team/mmseqs2/commit/91a82e4f1199dad44aaf132d868c8c2a082fecb0
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/20190716/3a4509f7/attachment-0001.html>
More information about the debian-med-commit
mailing list