[SCM] audiocd-kio packaging branch, master, updated. debian/4.14.2-1-17-gd1c921a
Maximiliano Curia
maxy at moszumanska.debian.org
Tue Feb 24 16:25:14 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/audiocd-kio.git;a=commitdiff;h=bb9bc03
The following commit has been merged in the master branch:
commit bb9bc03a23b5fff42541ca0bb9ae3af2ac283a99
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Sat Feb 21 07:31:10 2015 +0100
Add basic autopkgtests support.
---
debian/tests/acc | 14 ++++++++++++++
debian/tests/control | 6 ++++++
debian/tests/testsuite | 3 +++
3 files changed, 23 insertions(+)
diff --git a/debian/tests/acc b/debian/tests/acc
new file mode 100755
index 0000000..85b5b21
--- /dev/null
+++ b/debian/tests/acc
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+for in_file in debian/*.acc.in; do
+ if ! [ -e "$in_file" ]; then
+ continue
+ fi
+ out_file=${in_file%.in}
+ sed 's/@@DEB_HOST_MULTIARCH@@/'"${DEB_HOST_MULTIARCH}"'/' \
+ "${in_file}" > "${out_file}"
+done
+
+dh_acc
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d9b40f1
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+# Tests: testsuite
+# Depends: @, @builddeps@, build-essential
+# Restrictions: build-needed
+
+Tests: acc
+Depends: @, dh-acc, exuberant-ctags
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100755
index 0000000..dabe645
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+dh_auto_test
--
audiocd-kio packaging
More information about the pkg-kde-commits
mailing list