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 <[email protected]>

- - - - -


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 <[email protected]>  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.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to