Shruti Sridhar pushed to branch master at Debian Med / ecopcr
Commits: d6a684ad by Shruti Sridhar at 2021-07-31T13:40:49+05:30 Add autopkgtest - - - - - d33850f5 by Shruti Sridhar at 2021-07-31T13:41:06+05:30 Install docs - - - - - 0f961add by Shruti Sridhar at 2021-07-31T13:43:00+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,12 @@ +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. + +Notes on the files used for testing +──────────────────────────────────────── + \ No newline at end of file ===================================== debian/changelog ===================================== @@ -1,3 +1,11 @@ +ecopcr (1.0.1+dfsg-3) UNRELEASED; urgency=medium + + * Team Upload. + * Add autopkgtest + * Install docs + + -- Shruti Sridhar <[email protected]> Sat, 31 Jul 2021 13:42:16 +0530 + ecopcr (1.0.1+dfsg-2) unstable; urgency=medium * Standards-Version: 4.5.1 (routine-update) ===================================== debian/docs ===================================== @@ -0,0 +1,2 @@ +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: @ +Restrictions: allow-stderr ===================================== debian/tests/run-unit-test ===================================== @@ -0,0 +1,18 @@ +#!/bin/bash +set -e + +pkg=ecopcr +CUR_DIR=`pwd` + +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 ${CUR_DIR}/tests/* "${AUTOPKGTEST_TMP}" + +cd "${AUTOPKGTEST_TMP}" + +ecoPCR -d ecodb -e 3 -l 50 -L 500 TCACAGACCTGTTATTGC TYTGTCTGSTTRATTSCG > output.ecopcr +[ -s "output.ecopcr" ] && echo "PASS Test" \ No newline at end of file View it on GitLab: https://salsa.debian.org/med-team/ecopcr/-/compare/1a68d4c0089ee63c05b087fe3d71094e98849069...0f961add66a24729ad1f648614a6d75e5267aa46 -- View it on GitLab: https://salsa.debian.org/med-team/ecopcr/-/compare/1a68d4c0089ee63c05b087fe3d71094e98849069...0f961add66a24729ad1f648614a6d75e5267aa46 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
