[SCM] qtquickcontrols packaging branch, experimental, updated. debian/5.2.1-2-2-g975c45d

Dmitry Shachnev mitya57-guest at moszumanska.debian.org
Sun Mar 2 11:21:24 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtquickcontrols.git;a=commitdiff;h=975c45d

The following commit has been merged in the experimental branch:
commit 975c45d5fced6a7418cdbc127c0828fda02686d9
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sun Mar 2 15:21:19 2014 +0400

    Run tests during build.
---
 debian/changelog | 2 ++
 debian/control   | 4 +++-
 debian/rules     | 5 ++++-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 933d829..9cbab0a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 qtquickcontrols-opensource-src (5.2.1-3) UNRELEASED; urgency=medium
 
+  [ Dmitry Shachnev ]
+  * Run tests during build.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 02 Mar 2014 15:20:28 +0400
 
diff --git a/debian/control b/debian/control
index 8aeaed6..ff3e478 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,9 @@ Build-Depends: debhelper (>= 9),
                dpkg-dev (>= 1.16.1),
                pkg-kde-tools,
                qtbase5-private-dev (>= 5.2.1+dfsg~),
-               qtdeclarative5-private-dev (>= 5.2.1~)
+               qtdeclarative5-private-dev (>= 5.2.1~),
+               xauth,
+               xvfb
 Build-Depends-Indep: libqt5sql5-sqlite (>= 5.2.1+dfsg~),
                      qttools5-dev-tools (>= 5.2.1~)
 Standards-Version: 3.9.5
diff --git a/debian/rules b/debian/rules
index 65b86df..805227f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,10 @@ override_dh_auto_clean:
 	rm -rf doc src/controls/controls.qrc
 
 override_dh_auto_configure:
-	qmake
+	qmake QT_BUILD_PARTS+=tests
+
+override_dh_auto_test:
+	xvfb-run -a dh_auto_test -- QT_PLUGIN_PATH=$(CURDIR)/plugins
 
 override_dh_auto_build-indep:
 	dh_auto_build -Smakefile -- docs

-- 
qtquickcontrols packaging



More information about the pkg-kde-commits mailing list