[med-svn] [Git][med-team/damapper][master] 3 commits: Add autopkgtest
Shruti Sridhar
gitlab at salsa.debian.org
Sun Aug 23 19:37:40 BST 2020
Shruti Sridhar pushed to branch master at Debian Med / damapper
Commits:
40516f73 by Shruti Sridhar at 2020-08-23T23:50:48+05:30
Add autopkgtest
- - - - -
2bd34ee5 by Shruti Sridhar at 2020-08-23T23:54:16+05:30
Install docs
- - - - -
b32b959e by Shruti Sridhar at 2020-08-23T23:58:39+05:30
Update changelog
- - - - -
5 changed files:
- + debian/README.test
- debian/changelog
- + debian/docs
- + debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/README.test
=====================================
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+ sh run-unit-test
+
+in order to confirm its integrity.
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+damapper (0.0+git20200322.b2c9d7f-2) UNRELEASED; urgency=medium
+
+ [ Shruti Sridhar ]
+ * Add autopkgtest
+ * Install docs
+
+ -- Shruti Sridhar <shruti.sridhar99 at gmail.com> Sun, 23 Aug 2020 23:55:32 +0530
+
damapper (0.0+git20200322.b2c9d7f-1) unstable; urgency=medium
* Initial release (Closes: #968191)
=====================================
debian/docs
=====================================
@@ -0,0 +1,3 @@
+README.md
+debian/README*
+debian/tests/run-unit-test
\ No newline at end of file
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @,dazzdb, daligner
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,43 @@
+#!/bin/bash
+set -e
+
+pkg=damapper
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+ AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+ trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+#cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+#do_stuff_to_test_package#
+rangen 1.0 -r2020 >R.fasta
+fasta2DAM R R.fasta
+dsimulator R -c20. -r2020 >G.fasta
+fasta2DB G G.fasta
+
+DBsplit -s11 G
+DBdust G.1
+DBdust G.2
+
+
+rangen 1.0 -r2021 >R1.fasta
+fasta2DAM R1 R1.fasta
+dsimulator R1 -c20. -r2021 >G1.fasta
+fasta2DB G1 G1.fasta
+
+DBsplit -s11 G1
+DBdust G.1
+DBdust G.2
+
+
+
+HPC.damapper -mdust -t5 G G1 | sh -v
+
+
+# Since the output is not consistent.
+#It cannot be compared with the reference.
+
View it on GitLab: https://salsa.debian.org/med-team/damapper/-/compare/55aca33627cb843c3cea435ccd4e660faed924c7...b32b959e229c816dd929d9779a2ded2a2e94361a
--
View it on GitLab: https://salsa.debian.org/med-team/damapper/-/compare/55aca33627cb843c3cea435ccd4e660faed924c7...b32b959e229c816dd929d9779a2ded2a2e94361a
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/20200823/423874d2/attachment-0001.html>
More information about the debian-med-commit
mailing list