[SCM] libkmahjongg packaging branch, master, updated. debian/4.12.4-1-19-gb29a5f9
Maximiliano Curia
maxy at moszumanska.debian.org
Tue Feb 24 16:12:05 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/libkmahjongg.git;a=commitdiff;h=e44d9c2
The following commit has been merged in the master branch:
commit e44d9c296e854ece5a894d588fb7f25e71c68e79
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Sun Feb 22 20:19:59 2015 +0100
Add basic autopkgtests support
---
debian/control | 1 +
debian/tests/acc | 14 ++++++++++++++
debian/tests/control | 6 ++++++
debian/tests/testsuite | 3 +++
4 files changed, 24 insertions(+)
diff --git a/debian/control b/debian/control
index e7022e7..10a79c1 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends: cmake,
libkdegames-dev (>= 4:14.12.2),
pkg-kde-tools (>= 0.14)
Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
Homepage: http://games.kde.org/
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-kde/applications/libkmahjongg.git
Vcs-Git: git://anonscm.debian.org/pkg-kde/applications/libkmahjongg.git
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
--
libkmahjongg packaging
More information about the pkg-kde-commits
mailing list