[med-svn] [Git][med-team/libminc][master] Add autopkgtest
Achu Luma (@luma)
gitlab at salsa.debian.org
Mon Oct 16 21:25:50 BST 2023
Achu Luma pushed to branch master at Debian Med / libminc
Commits:
a327e4af by Achu Luma at 2023-10-16T21:25:28+01:00
Add autopkgtest
Signed-off-by: Achu Luma <ach.lumap at gmail.com>
- - - - -
3 changed files:
- debian/changelog
- + debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+libminc (2.4.05-5) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Added autopkgtest
+
+ -- Achu Luma <ach.lumap at gmail.com> Mon, 16 Oct 2023 21:24:27 +0100
+
libminc (2.4.05-4) unstable; urgency=medium
[ Steve Robbins ]
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,16 @@
+#!/bin/bash
+set -e
+
+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
+
+cd "${AUTOPKGTEST_TMP}"
+cp -a ${CUR_DIR}/testdir/* .
+
+echo "Testing C binary"
+./runtest
+echo "PASS"
View it on GitLab: https://salsa.debian.org/med-team/libminc/-/commit/a327e4af02fee865b99d97563f25af61cd59fb49
--
View it on GitLab: https://salsa.debian.org/med-team/libminc/-/commit/a327e4af02fee865b99d97563f25af61cd59fb49
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/20231016/18904d04/attachment-0001.htm>
More information about the debian-med-commit
mailing list