[SCM] knotifications packaging branch, kubuntu_unstable, updated. ubuntu/5.18.0-0ubuntu1-3-gc0f0b0e

Clive Johnston clivejo-guest at moszumanska.debian.org
Sat Apr 9 22:32:06 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/knotifications.git;a=commitdiff;h=c0f0b0e

The following commit has been merged in the kubuntu_unstable branch:
commit c0f0b0eb5439ff00ed9684339a08cf809765620b
Author: Clive Johnston <clivejo at aol.com>
Date:   Sat Apr 9 23:31:45 2016 +0100

    Switch dh_auto_test to autopkgtest
---
 debian/rules           | 4 ++++
 debian/tests/control   | 6 +++---
 debian/tests/testsuite | 2 +-
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index c6efca6..85fd75b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,7 @@ include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
 
 override_dh_strip:
 	$(overridden_command) --dbg-package=libkf5notifications5-dbg
+
+override_dh_auto_test:
+	# Disable dh_auto_test at build time
+	:
diff --git a/debian/tests/control b/debian/tests/control
index 541be7d..a34da22 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,6 +1,6 @@
-# Tests: testsuite
-# Depends: @, @builddeps@, build-essential
-# Restrictions: build-needed
+Tests: testsuite
+Depends: @, @builddeps@, build-essential, dbus-x11
+Restrictions: build-needed
 
 Tests: acc
 Depends: @, dh-acc, exuberant-ctags
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
index dabe645..be87224 100755
--- a/debian/tests/testsuite
+++ b/debian/tests/testsuite
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-dh_auto_test
+dbus-launch --exit-with-session dh_auto_test

-- 
knotifications packaging



More information about the pkg-kde-commits mailing list