[SCM] KDE Base Workspace module packaging branch, master, updated. debian/4.11.3-3-10-g38197ba
Maximiliano Curia
maxy at moszumanska.debian.org
Mon Jan 27 13:00:08 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/kde-workspace.git;a=commitdiff;h=059d3a8
The following commit has been merged in the master branch:
commit 059d3a806bab5737c411cf63f1567ec3e5a6f221
Author: Maximiliano Curia <maxy at debian.org>
Date: Sun Jan 26 21:02:29 2014 +0100
Add autopkgtests.
---
debian/changelog | 3 +++
debian/control | 1 +
debian/tests/acc | 3 +++
debian/tests/control | 53 +++++++++++++++++++++++++++++++++++++++++
debian/tests/testsuite | 10 ++++++++
debian/tests/testsuite.xsession | 5 ++++
6 files changed, 75 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 98638b7..5e683eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,9 @@ kde-workspace (4:4.11.5-1) UNRELEASED; urgency=medium
[ Dmitry Shachnev ]
* Build-depend on libxcb-sync-dev instead of removed libxcb-sync0-dev.
+ [ Maximiliano Curia ]
+ * Add autopkgtests.
+
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Sun, 12 Jan 2014 21:12:20 -0300
kde-workspace (4:4.11.3-3) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index da135cd..2a8c992 100644
--- a/debian/control
+++ b/debian/control
@@ -80,6 +80,7 @@ Build-Depends: cmake (>= 2.8.6),
zlib1g-dev
Standards-Version: 3.9.5
X-Python-Version: >= 2.5
+XS-Testsuite: autopkgtest
Homepage: http://www.kde.org/
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-sc/kde-workspace.git
Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-sc/kde-workspace.git
diff --git a/debian/tests/acc b/debian/tests/acc
new file mode 100755
index 0000000..ecd74f2
--- /dev/null
+++ b/debian/tests/acc
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+dh_acc
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..91fe07a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,53 @@
+Tests: testsuite
+# @ without kdebase-workspace-dev
+Depends: kde-workspace,
+ kdebase-workspace,
+ plasma-desktop,
+ plasma-netbook,
+ kde-workspace-bin,
+ kdebase-workspace-bin,
+ kde-workspace-data,
+ kde-workspace-dev,
+ plasma-dataengines-workspace,
+ plasma-widgets-workspace,
+ plasma-scriptengines,
+ plasma-scriptengine-ruby,
+ plasma-scriptengine-python,
+ plasma-scriptengine-webkit,
+ freespacenotifier,
+ kdm,
+ kinfocenter,
+ klipper,
+ ksysguardd,
+ ksysguard,
+ kde-window-manager,
+ libkdecorations4abi2,
+ libkwineffects1abi5,
+ systemsettings,
+ kde-workspace-kgreet-plugins,
+ kde-style-oxygen,
+ kmenuedit,
+ libkephal4abi1,
+ libkscreensaver5,
+ libksgrd4,
+ libksignalplotter4,
+ libkworkspace4abi2,
+ liblsofui4,
+ libplasmaclock4abi4,
+ libplasma-geolocation-interface4,
+ libkwinglutils1abi2,
+ libplasmagenericshell4,
+ libprocesscore4abi1,
+ libprocessui4a,
+ libtaskmanager4abi4,
+ libweather-ion6,
+ kde-workspace-dbg,
+ kdebase-workspace-dbg,
+ ktouchpadenabler,
+ @builddeps@, build-essential,
+ xvfb, xauth, dbus-x11
+Restrictions: rw-build-tree
+
+Tests: acc
+Depends: @,
+ dh-acc, exuberant-ctags
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100755
index 0000000..da001c5
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,10 @@
+#!/bin/sh
+sed -i 's/-DKDE4_BUILD_TESTS=false/-DKDE4_BUILD_TESTS=true/' debian/rules
+if [ -d /usr/lib/ccache ]; then
+ export PATH="/usr/lib/ccache:$PATH"
+fi
+debian/rules clean 2>&1
+dpkg-source --before-build .
+debian/rules build 2>&1
+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 Base Workspace module packaging
More information about the pkg-kde-commits
mailing list