Bug#722723: qtgraphicaleffects-opensource-src: Please enable tests
Package: qtgraphicaleffects-opensource-src
Version: 5.0.2-2
Severity: wishlist
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu saucy ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to run tests during package build. Thanks for considering it.
-- System Information:
Debian Release: wheezy/sid
APT prefers saucy-updates
APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11.0-7-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru qtgraphicaleffects-opensource-src-5.0.2/debian/changelog qtgraphicaleffects-opensource-src-5.0.2/debian/changelog
diff -Nru qtgraphicaleffects-opensource-src-5.0.2/debian/control qtgraphicaleffects-opensource-src-5.0.2/debian/control
--- qtgraphicaleffects-opensource-src-5.0.2/debian/control 2013-07-30 09:09:43.000000000 -0400
+++ qtgraphicaleffects-opensource-src-5.0.2/debian/control 2013-09-13 13:20:48.000000000 -0400
@@ -1,19 +1,21 @@
Source: qtgraphicaleffects-opensource-src
Section: libs
Priority: optional
-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
-XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
+Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Fathi Boudra <fabo@debian.org>,
Modestas Vainius <modax@debian.org>,
Sune Vuorela <debian@pusling.com>,
Pino Toscano <pino@debian.org>,
Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>,
Timo Jyrinki <timo@debian.org>
-Build-Depends: debhelper (>= 9),
+Build-Depends: dbus,
+ debhelper (>= 9),
dpkg-dev (>= 1.16.1),
pkg-kde-tools,
qtbase5-private-dev (>= 5.0.2),
qtdeclarative5-private-dev (>= 5.0.2),
+ qtdeclarative5-qtquick2-plugin,
+ xvfb,
Build-Depends-Indep: libqt5sql5-sqlite,
qttools5-dev-tools (>= 5.0.2~)
Standards-Version: 3.9.4
diff -Nru qtgraphicaleffects-opensource-src-5.0.2/debian/rules qtgraphicaleffects-opensource-src-5.0.2/debian/rules
--- qtgraphicaleffects-opensource-src-5.0.2/debian/rules 2013-07-30 09:09:43.000000000 -0400
+++ qtgraphicaleffects-opensource-src-5.0.2/debian/rules 2013-09-13 13:00:57.000000000 -0400
@@ -12,11 +12,14 @@
dh $@ --parallel
override_dh_auto_configure:
- qmake
+ qmake QT_BUILD_PARTS+=tests
override_dh_auto_build-indep:
dh_auto_build -Smakefile -- docs
+override_dh_auto_test:
+ xvfb-run -a make check QT_PLUGIN_PATH=$(CURDIR)/plugins LD_LIBRARY_PATH=$(CURDIR)/lib
+
override_dh_auto_install-indep:
make INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs
Reply to: