[SCM] kiten packaging branch, master, updated. debian/4.14.0-1-22-g84644c0
Maximiliano Curia
maxy at moszumanska.debian.org
Tue Feb 24 15:57:29 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/kiten.git;a=commitdiff;h=e3f50d2
The following commit has been merged in the master branch:
commit e3f50d29663aba03d01ba98ab8c407ddf09cbe8f
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Wed Feb 18 19:54:41 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 04f9995..9740667 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends: cmake,
kdelibs5-dev,
pkg-kde-tools (>= 0.12)
Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
Homepage: http://edu.kde.org/
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-kde/applications/kiten.git
Vcs-Git: git://anonscm.debian.org/pkg-kde/applications/kiten.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..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
--
kiten packaging
More information about the pkg-kde-commits
mailing list