[SCM] qtxmlpatterns packaging branch, experimental, updated. debian/5.2.0-1-9-gb8deecb

Dmitry Shachnev mitya57-guest at moszumanska.debian.org
Fri Jan 3 11:16:48 UTC 2014


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

The following commit has been merged in the experimental branch:
commit b8deecb4a5a1009d52d75ac99c6dc196b4e0a293
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Fri Jan 3 15:15:57 2014 +0400

    Run tests in build target, and use dh_auto_test.
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f620c66..acbbcc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ qtxmlpatterns-opensource-src (5.2.0-2) UNRELEASED; urgency=low
   [ Dmitry Shachnev ]
   * Rename enable-make-test.patch to disable_network_tests.diff (to explain what
     it really does and follow the naming convention), and add DEP-3 headers.
+  * Run tests in build target, and use dh_auto_test.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 12 Dec 2013 23:40:02 -0300
 
diff --git a/debian/rules b/debian/rules
index 9c5487a..d6b7814 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ export QT_QPA_PLATFORM := minimal
 	dh $@ --parallel --with pkgkde_symbolshelper --dbg-package=qtxmlpatterns5-dbg
 
 override_dh_auto_configure:
-	qmake
+	qmake QT_BUILD_PARTS+=tests
 
 override_dh_auto_build-indep:
 	dh_auto_build -Smakefile -- docs
@@ -40,5 +40,5 @@ override_dh_builddeb:
 	dh_builddeb -- -Zxz
 
 override_dh_auto_test:
-	cd tests/auto/ && ( test -e Makefile || qmake auto.pro -o Makefile ) && xvfb-run -a make -f Makefile check
+	xvfb-run -a dh_auto_test
 

-- 
qtxmlpatterns packaging



More information about the pkg-kde-commits mailing list