[SCM] umbrello packaging branch, master, updated. debian/4.11.3-1-7-g47fd36d
Maximiliano Curia
maxy at moszumanska.debian.org
Tue Feb 4 16:24:50 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/umbrello.git;a=commitdiff;h=ea24f40
The following commit has been merged in the master branch:
commit ea24f409e015368f7639005cb7c850e8f4fc12ce
Author: Maximiliano Curia <maxy at debian.org>
Date: Tue Feb 4 16:38:32 2014 +0100
Add autopkgtests.
---
debian/changelog | 3 +++
debian/control | 1 +
debian/tests/control | 4 ++++
debian/tests/testsuite | 4 ++++
debian/tests/testsuite.xsession | 5 +++++
5 files changed, 17 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 5435435..066d413 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ umbrello (4:4.11.5-1) UNRELEASED; urgency=medium
[ Pino Toscano ]
* Add the pkg-config build dependency.
+ [ Maximiliano Curia ]
+ * Add autopkgtests.
+
-- Maximiliano Curia <maxy at debian.org> Tue, 04 Feb 2014 16:02:20 +0100
umbrello (4:4.11.3-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index e246c3a..6a67a61 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ Build-Depends: kde-sc-dev-latest (>= 4:4.11),
libxml2-dev,
libboost-dev (>= 1.33.1)
Standards-Version: 3.9.4
+XS-Testsuite: autopkgtest
Homepage: http://www.kde.org/
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-sc/umbrello.git
Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-sc/umbrello.git
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..34cd609
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: testsuite
+Depends: @, @builddeps@, build-essential,
+ xvfb, xauth, dbus-x11
+Restrictions: build-needed
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100755
index 0000000..fa0feb1
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,4 @@
+#!/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
--
umbrello packaging
More information about the pkg-kde-commits
mailing list