[SCM] KDE PIM module packaging branch, master, updated. debian/4.11.5-1

Maximiliano Curia maxy at moszumanska.debian.org
Tue Jan 28 20:12:05 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/kdepim.git;a=commitdiff;h=3faab86

The following commit has been merged in the master branch:
commit 3faab86f5ba89db936476b54bd011af0066e3ea3
Author: Maximiliano Curia <maxy at debian.org>
Date:   Tue Jan 28 10:28:51 2014 +0100

    Add autopkgtests.
---
 debian/changelog                | 3 +++
 debian/control                  | 1 +
 debian/tests/control            | 4 ++++
 debian/tests/testsuite          | 3 +++
 debian/tests/testsuite.xsession | 5 +++++
 5 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 16d9c95..3b5ef5e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ kdepim (4:4.11.5-1) UNRELEASED; urgency=low
   [ Pino Toscano ]
   * kmail.install: do not hardcode the minor grantlee version.
 
+  [ Maximiliano Curia ]
+  * Add autopkgtests.
+
  -- Maximiliano Curia <maxy at debian.org>  Tue, 28 Jan 2014 10:21:56 +0100
 
 kdepim (4:4.11.3-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index beca1ba..10d9fc7 100644
--- a/debian/control
+++ b/debian/control
@@ -29,6 +29,7 @@ Build-Depends: kde-sc-dev-latest (>= 4:4.11),
  libsoprano-dev (>= 2.9.0)
 Build-Depends-Indep: dblatex
 Standards-Version: 3.9.4
+XS-Testsuite: autopkgtest
 Homepage: http://pim.kde.org/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-sc/kdepim.git
 Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-sc/kdepim.git
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..db776e1
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: testsuite
+Depends: @, @builddeps@, build-essential,
+         xvfb, xauth, dbus-x11
+Restrictions: rw-build-tree
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100755
index 0000000..60d997a
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,3 @@
+#!/bin/sh
+xvfb-run -a --server-args="-screen 0 1024x768x24" \
+    dbus-launch --exit-with-session debian/tests/testsuite.xsession
diff --git a/debian/tests/testsuite.xsession b/debian/tests/testsuite.xsession
new file mode 100755
index 0000000..bd1c9db
--- /dev/null
+++ b/debian/tests/testsuite.xsession
@@ -0,0 +1,5 @@
+#!/bin/sh
+export LANG=C.UTF-8
+export LC_ALL=C.UTF-8
+kdeinit4
+dh_auto_test

-- 
KDE PIM module packaging



More information about the pkg-kde-commits mailing list