Chris Gagnon has proposed merging 
lp:~chris.gagnon/kubuntu-packaging/qtgraphicaleffects-opensource-src-enable-unit-tests
 into lp:~kubuntu-packagers/kubuntu-packaging/qtgraphicaleffects-opensource-src.

Requested reviews:
  Timo Jyrinki (timo-jyrinki)
  Kubuntu Packagers (kubuntu-packagers)

For more details, see:
https://code.launchpad.net/~chris.gagnon/kubuntu-packaging/qtgraphicaleffects-opensource-src-enable-unit-tests/+merge/198846

enable unit tests to run during build time
-- 
https://code.launchpad.net/~chris.gagnon/kubuntu-packaging/qtgraphicaleffects-opensource-src-enable-unit-tests/+merge/198846
Your team Kubuntu Packagers is requested to review the proposed merge of 
lp:~chris.gagnon/kubuntu-packaging/qtgraphicaleffects-opensource-src-enable-unit-tests
 into lp:~kubuntu-packagers/kubuntu-packaging/qtgraphicaleffects-opensource-src.
=== modified file 'debian/changelog'
--- debian/changelog	2013-12-03 12:21:49 +0000
+++ debian/changelog	2013-12-12 23:32:47 +0000
@@ -4,6 +4,10 @@
     - Transitional package for upgrades from Ubuntu 13.04
   * New upstream release.
 
+  [ Chris Gagnon ]
+    * Run unit tests during build:
+      - Chris Gagnon <[email protected]>
+
  -- Timo Jyrinki <[email protected]>  Mon, 02 Sep 2013 12:39:20 +0000
 
 qtgraphicaleffects-opensource-src (5.1.1-1) unstable; urgency=low

=== modified file 'debian/control'
--- debian/control	2013-09-02 12:36:39 +0000
+++ debian/control	2013-12-12 23:32:47 +0000
@@ -14,6 +14,7 @@
                pkg-kde-tools,
                qtbase5-private-dev (>= 5.1.1+dfsg~),
                qtdeclarative5-private-dev (>= 5.1.1~),
+               xvfb,
 Build-Depends-Indep: libqt5sql5-sqlite,
                      qttools5-dev-tools (>= 5.1.1~)
 Standards-Version: 3.9.4

=== modified file 'debian/rules'
--- debian/rules	2013-11-15 09:22:31 +0000
+++ debian/rules	2013-12-12 23:32:47 +0000
@@ -12,7 +12,10 @@
 	dh $@ --parallel
 
 override_dh_auto_configure:
-	qmake "CONFIG+=debug"
+	qmake "CONFIG+=debug" 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_build-indep:
 	dh_auto_build -Smakefile -- docs

-- 
kubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel

Reply via email to