[med-svn] [Git][med-team/last-align][master] Add additional tests
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Fri Aug 6 08:46:14 BST 2021
Nilesh Patra pushed to branch master at Debian Med / last-align
Commits:
c89be754 by Nilesh Patra at 2021-08-06T13:15:53+05:30
Add additional tests
- - - - -
2 changed files:
- debian/tests/control
- + debian/tests/last-test
Changes:
=====================================
debian/tests/control
=====================================
@@ -1,3 +1,7 @@
Tests: run-unit-test
Depends: @, python3-pil
Restrictions: allow-stderr
+
+Tests: last-test
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/last-test
=====================================
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+
+pkg=last-align
+CUR_DIR=`pwd`
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+ AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+ trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cd $AUTOPKGTEST_TMP
+
+cp -a ${CUR_DIR}/test .
+cp -a ${CUR_DIR}/examples .
+cp -a ${CUR_DIR}/data .
+cd test
+
+ls
+dpkg -L last-align | grep /usr/bin/maf-convert
+echo $PATH
+/usr/bin/maf-join
+/usr/bin/maf-convert --help
+./last-test.sh > log
View it on GitLab: https://salsa.debian.org/med-team/last-align/-/commit/c89be754161388dc6988889adb005fb0ea2ec28b
--
View it on GitLab: https://salsa.debian.org/med-team/last-align/-/commit/c89be754161388dc6988889adb005fb0ea2ec28b
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/20210806/d96a6a79/attachment-0001.htm>
More information about the debian-med-commit
mailing list