[med-svn] [Git][med-team/amide][master] 2 commits: Added autopkgtest

Israel Komolehin (@Komolehin) gitlab at salsa.debian.org
Tue Dec 5 20:03:42 GMT 2023



Israel Komolehin pushed to branch master at Debian Med / amide


Commits:
93cf7c02 by Komolehin Israel Timilehin at 2023-12-05T19:38:22+00:00
Added autopkgtest

- - - - -
7faf5985 by Komolehin Israel Timilehin at 2023-12-05T19:39:58+00:00
Updated changelog

- - - - -


3 changed files:

- debian/changelog
- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+amide (1.0.6-3) UNRELEASED; urgency=medium
+
+  * Added autopkgtest
+
+ -- Komolehin Israel Timilehin <komolehinisrael at gmail.com>  Tue, 05 Dec 2023 19:39:39 +0000
+
 amide (1.0.6-2) unstable; urgency=medium
 
   * d/control: remove libxml-parser-perl from build dependencies.


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Test-Command: xvfb-run -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" sh debian/tests/run-unit-test
+Depends: xvfb, xauth, amide
+Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+pkg=amide
+
+
+if [ "$AUTOPKGTEST_TMP" = ""]; then
+	AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXX`
+
+	trap "rm -rf $AUTOPKG_TMP" 0 INT QUIT ABRT PIPE TERM
+
+fi
+
+# Start amide
+timeout 10s amide || true
+
+echo "Amide Started"
+echo "Pass"
+



View it on GitLab: https://salsa.debian.org/med-team/amide/-/compare/032e109e5b18ccc33c0b610c79db22eae43f59c4...7faf5985894fe0a7933008f08da0f451b9babc91

-- 
View it on GitLab: https://salsa.debian.org/med-team/amide/-/compare/032e109e5b18ccc33c0b610c79db22eae43f59c4...7faf5985894fe0a7933008f08da0f451b9babc91
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/20231205/53d34f75/attachment-0001.htm>


More information about the debian-med-commit mailing list