[SCM] knewstuff packaging branch, master, updated. 4c839235dcee3c850e35e77b9cf3aa22e4213dd1

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 16 12:51:59 UTC 2015


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

The following commit has been merged in the master branch:
commit d88d0fd361eef79d87e7bedde380e57789f4b56a
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Tue May 12 17:01:37 2015 +0200

    Move testsuite to autopkgtests
---
 debian/control         | 2 --
 debian/rules           | 3 ++-
 debian/tests/control   | 6 +++---
 debian/tests/testsuite | 2 +-
 4 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index e93c3a2..1af2327 100644
--- a/debian/control
+++ b/debian/control
@@ -21,8 +21,6 @@ Build-Depends: cmake (>= 2.8.11),
                libkf5xmlgui-dev (>= 5.10.0~),
                pkg-kde-tools (>= 0.15.15ubuntu1~),
                qtbase5-dev (>= 5.4),
-               xauth,
-               xvfb
 Standards-Version: 3.9.6
 XS-Testsuite: autopkgtest
 Homepage: https://projects.kde.org/projects/frameworks/knewstuff
diff --git a/debian/rules b/debian/rules
index c3b4cc9..40bdc47 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,4 +7,5 @@ override_dh_strip:
 	$(overridden_command) --dbg-package=libkf5newstuff5-dbg
 
 override_dh_auto_test:
-	xvfb-run -a $(overridden_command)
+	# Disable unit test at build time
+	:
diff --git a/debian/tests/control b/debian/tests/control
index d9b40f1..7db25cd 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, xvfb, xauth, kate
+Restrictions: build-needed
 
 Tests: acc
 Depends: @, dh-acc, exuberant-ctags
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
index dabe645..f6083b5 100755
--- a/debian/tests/testsuite
+++ b/debian/tests/testsuite
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-dh_auto_test
+xvfb-run -a dh_auto_test

-- 
knewstuff packaging



More information about the pkg-kde-commits mailing list