[SCM] qtgraphicaleffects packaging branch, master, updated. debian/5.6.1-3-2-gd7b823b
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Sun Jun 19 08:29:30 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtgraphicaleffects.git;a=commitdiff;h=d7b823b
The following commit has been merged in the master branch:
commit d7b823b0dcb4c0a637e8d8ccf7e9bbe053df4531
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Sun Jun 19 11:29:26 2016 +0300
Run the tests against installed module, to make them work.
---
debian/changelog | 2 ++
debian/rules | 9 +++++----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 13dd475..19eaaa3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
qtgraphicaleffects-opensource-src (5.6.1-4) UNRELEASED; urgency=medium
+ [ Dmitry Shachnev ]
+ * Run the tests against installed module, to make them work.
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Sun, 19 Jun 2016 11:28:35 +0300
diff --git a/debian/rules b/debian/rules
index d752458..a5eedb1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,9 @@ export QT_SELECT := qt5
%:
dh $@ --parallel
+override_dh_auto_clean:
+ rm -rfv $(CURDIR)/test_root
+
override_dh_auto_configure:
qmake QT_BUILD_PARTS+=tests
@@ -18,7 +21,8 @@ override_dh_auto_build-indep:
dh_auto_build -Smakefile -- docs
override_dh_auto_test-arch:
- dh_auto_test -- QT_QPA_PLATFORM=minimal
+ $(MAKE) install INSTALL_ROOT=$(CURDIR)/test_root
+ dh_auto_test -- QT_QPA_PLATFORM=minimal QML2_IMPORT_PATH=$(CURDIR)/test_root/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/qml
override_dh_auto_test-indep:
@@ -27,6 +31,3 @@ override_dh_auto_install-indep:
override_dh_install:
dh_install --fail-missing
-
-override_dh_auto_test:
- # We can't make them work.
--
qtgraphicaleffects packaging
More information about the pkg-kde-commits
mailing list