Pranav Ballaney pushed to branch master at Debian Med / libsmithwaterman
Commits: c307920b by Pranav Ballaney at 2020-05-22T20:05:57+05:30 Add autopkgtests - - - - - 5683e276 by Pranav Ballaney at 2020-05-22T20:06:05+05:30 Install docs - - - - - e6c843fd by Pranav Ballaney at 2020-05-22T20:06:17+05:30 Update changelog - - - - - 6 changed files: - + debian/README.test - debian/changelog - + debian/smithwaterman.docs - + debian/smithwaterman.examples - + 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,9 @@ +libsmithwaterman (0.0+git20160702.2610e25-8) UNRELEASED; urgency=medium + + * Add autopkgtests + + -- Pranav Ballaney <[email protected]> Fri, 22 May 2020 20:03:59 +0530 + libsmithwaterman (0.0+git20160702.2610e25-7) unstable; urgency=medium * Team upload ===================================== debian/smithwaterman.docs ===================================== @@ -0,0 +1,2 @@ +debian/README.test +debian/tests/run-unit-test \ No newline at end of file ===================================== debian/smithwaterman.examples ===================================== @@ -0,0 +1 @@ +examples.txt \ 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,27 @@ +#!/bin/bash +set -e + +pkg=smithwaterman + +export LC_ALL=C.UTF-8 +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}" + +cd "${AUTOPKGTEST_TMP}" + +gunzip -r * + +input="examples.txt" +while IFS= read -r line +do + echo smithwaterman -p -R $line >> commands.sh +done < "$input" + +sh commands.sh \ No newline at end of file View it on GitLab: https://salsa.debian.org/med-team/libsmithwaterman/-/compare/685a14140756987b6509d55db90293d16070be5c...e6c843fd5ebdfd83e024454ed041d8f94bf3c792 -- View it on GitLab: https://salsa.debian.org/med-team/libsmithwaterman/-/compare/685a14140756987b6509d55db90293d16070be5c...e6c843fd5ebdfd83e024454ed041d8f94bf3c792 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
