[SCM] qtsensors packaging branch, master, updated. debian/5.2.0+dfsg-2

Lisandro Damián Nicanor Pérez lisandro at moszumanska.debian.org
Fri Jan 31 23:23:41 UTC 2014


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

The following commit has been merged in the master branch:
commit c6888c8e7f82f64954d78dc257261202dcb9f7ad
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Wed Oct 30 12:17:42 2013 +0400

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

diff --git a/debian/changelog b/debian/changelog
index 65a6eed..8caec7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ qtsensors-opensource-src (5.2.0~beta1+dfsg-1) UNRELEASED; urgency=low
   * Update libqt5sensors5.symbols.
   * Bump qtbase and qtdeclarative build-dependencies to 5.2.0.
   * Make Vcs-Browser field canonical by dropping useless attribute.
+  * Run tests during build.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Tue, 29 Oct 2013 21:31:54 +0400
 
diff --git a/debian/control b/debian/control
index 3e86ffd..812b0c2 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,9 @@ Uploaders: Fathi Boudra <fabo at debian.org>,
 Build-Depends: debhelper (>= 9.0.0),
                pkg-kde-tools,
                qtbase5-private-dev (>= 5.2.0~),
-               qtdeclarative5-private-dev (>= 5.2.0~)
+               qtdeclarative5-private-dev (>= 5.2.0~),
+               xauth,
+               xvfb
 Standards-Version: 3.9.4
 Homepage: http://qt-project.org/
 Vcs-Git: git://anonscm.debian.org/pkg-kde/qt/qtsensors.git
diff --git a/debian/rules b/debian/rules
index 4923704..519d395 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,10 @@ export QT_SELECT := qt5
 	dh $@ --parallel --with pkgkde_symbolshelper --dbg-package=qtsensors5-dbg
 
 override_dh_auto_configure:
-	qmake
+	qmake QT_BUILD_PARTS+=tests
+
+override_dh_auto_test:
+	xvfb-run -a make check QT_PLUGIN_PATH=$(CURDIR)/plugins LD_LIBRARY_PATH=$(CURDIR)/lib
 
 override_dh_auto_install:
 	dh_auto_install

-- 
qtsensors packaging



More information about the pkg-kde-commits mailing list