[med-svn] [Git][med-team/fsm-lite][master] 2 commits: AUTOPKGTEST_TMP is a fixed name in Debian CI workflow
Andreas Tille (@tille)
gitlab at salsa.debian.org
Mon Dec 20 16:20:19 GMT 2021
Andreas Tille pushed to branch master at Debian Med / fsm-lite
Commits:
5a56fbc7 by Andreas Tille at 2021-12-20T17:19:50+01:00
AUTOPKGTEST_TMP is a fixed name in Debian CI workflow
- - - - -
0b123550 by Andreas Tille at 2021-12-20T17:20:07+01:00
Add changelog entry
- - - - -
2 changed files:
- debian/changelog
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+fsm-lite (1.0-7) UNRELEASED; urgency=medium
+
+ [ Lance Lin ]
+ * Add autopkgtest
+ Closes: #986201
+
+ -- Andreas Tille <tille at debian.org> Mon, 20 Dec 2021 17:14:08 +0100
+
fsm-lite (1.0-6) unstable; urgency=medium
* Fix watchfile to detect new versions on github
=====================================
debian/tests/run-unit-test
=====================================
@@ -16,9 +16,11 @@
set -e
-WORKDIR=$(mktemp -d)
-trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
-cd $WORKDIR
+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}"
echo "run-unit-test: generating data"
@@ -54,7 +56,7 @@ EOF
echo "run-unit-test: generating test input list file"
cat <<EOF > input.list
-testfile $WORKDIR/testfile.fasta
+testfile "${AUTOPKGTEST_TMP}"/testfile.fasta
EOF
echo "run-unit-test: running fsm-lite"
View it on GitLab: https://salsa.debian.org/med-team/fsm-lite/-/compare/539ada1b52b4eb9e8d6458de7ba785a992fdc48c...0b1235501c6fe3e95c8fddf3fa4c0b9d7389ed6b
--
View it on GitLab: https://salsa.debian.org/med-team/fsm-lite/-/compare/539ada1b52b4eb9e8d6458de7ba785a992fdc48c...0b1235501c6fe3e95c8fddf3fa4c0b9d7389ed6b
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/20211220/17136181/attachment-0001.htm>
More information about the debian-med-commit
mailing list