[SCM] kimageformats packaging branch, kubuntu_wily_archive, updated. debian/5.9.0-1-3-g2e99981

Jonathan Riddell jriddell-guest at moszumanska.debian.org
Tue May 19 12:59:05 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kimageformats.git;a=commitdiff;h=9053612

The following commit has been merged in the kubuntu_wily_archive branch:
commit 9053612d736a55c66d33430b6d26b27144d01089
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Sat Mar 14 12:37:26 2015 +0100

    Add basic autopkgtests support
---
 debian/control         |  1 +
 debian/tests/acc       | 11 +++++++++++
 debian/tests/control   |  6 ++++++
 debian/tests/testsuite |  3 +++
 4 files changed, 21 insertions(+)

diff --git a/debian/control b/debian/control
index d44780c..a83a52d 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Build-Depends: cmake (>= 2.8.12),
                xauth,
                xvfb
 Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
 Homepage: https://projects.kde.org/projects/frameworks/kimageformats
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-kde/frameworks/kimageformats.git
 Vcs-Git: git://anonscm.debian.org/pkg-kde/frameworks/kimageformats.git
diff --git a/debian/tests/acc b/debian/tests/acc
new file mode 100755
index 0000000..f8dc629
--- /dev/null
+++ b/debian/tests/acc
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+for in_file in debian/*.acc.in; do
+    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..1db7a0f
--- /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

-- 
kimageformats packaging



More information about the pkg-kde-commits mailing list