[SCM] parley packaging branch, master, updated. debian/4.14.0-1-4-g33b5652

Maximiliano Curia maxy at moszumanska.debian.org
Fri Sep 5 10:08:11 UTC 2014


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

The following commit has been merged in the master branch:
commit c4bb341d32663c3220b3bc07289edf432bcc237c
Author: Maximiliano Curia <maxy at debian.org>
Date:   Fri Sep 5 10:00:09 2014 +0200

    Add basic autopkgtests.
---
 debian/changelog                | 3 ++-
 debian/control                  | 1 +
 debian/rules                    | 3 +++
 debian/tests/control            | 4 ++++
 debian/tests/testsuite          | 4 ++++
 debian/tests/testsuite.xsession | 8 ++++++++
 6 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a4f4bb1..6768aa4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 parley (4:4.14.0-2) UNRELEASED; urgency=medium
 
-  * 
+  * Disable build time auto tests.
+  * Add basic autopkgtests.
 
  -- Maximiliano Curia <maxy at debian.org>  Fri, 05 Sep 2014 09:51:57 +0200
 
diff --git a/debian/control b/debian/control
index e0b8355..7aca371 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Build-Depends: cmake,
                pkg-config,
                pkg-kde-tools (>= 0.12)
 Standards-Version: 3.9.5
+XS-Testsuite: autopkgtest
 Homepage: https://projects.kde.org/projects/kde/kdeedu/parley
 Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-sc/parley.git
 Vcs-Browser: http://anonscm.debian.org/git/pkg-kde/kde-sc/parley.git
diff --git a/debian/rules b/debian/rules
index 8c071c5..efdb099 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,3 +8,6 @@ override_dh_auto_build:
 	while read src dest args; do \
 	    convert $$args $(CURDIR)/$$src $(CURDIR)/$$dest; \
 	done <debian/icon-list
+
+override_dh_auto_test:
+	# disable build time dh_auto_test
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..e9d5e3f
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: testsuite
+Depends: @, @builddeps@,
+         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..7e49196
--- /dev/null
+++ b/debian/tests/testsuite.xsession
@@ -0,0 +1,8 @@
+#!/bin/sh
+export LANG=C.UTF-8
+export LC_ALL=C.UTF-8
+kdeinit4
+dh_auto_test
+ret=$?
+kdeinit4_shutdown
+exit $ret

-- 
parley packaging



More information about the pkg-kde-commits mailing list