Omer Akram has proposed merging 
lp:~om26er/kubuntu-packaging/qtdeclarative_unittests into 
lp:~kubuntu-packagers/kubuntu-packaging/qtdeclarative-opensource-src.

Commit message:
Run unittests during build

Requested reviews:
  Kubuntu Packagers (kubuntu-packagers)

For more details, see:
https://code.launchpad.net/~om26er/kubuntu-packaging/qtdeclarative_unittests/+merge/198425

Run unittests during build
-- 
https://code.launchpad.net/~om26er/kubuntu-packaging/qtdeclarative_unittests/+merge/198425
Your team Kubuntu Packagers is requested to review the proposed merge of 
lp:~om26er/kubuntu-packaging/qtdeclarative_unittests into 
lp:~kubuntu-packagers/kubuntu-packaging/qtdeclarative-opensource-src.
=== modified file 'debian/rules'
--- debian/rules	2013-11-13 13:04:27 +0000
+++ debian/rules	2013-12-10 15:36:27 +0000
@@ -7,6 +7,7 @@
 export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
 export QT_SELECT := qt5
+export QT_QPA_PLATFORM := minimal
 
 %:
 	dh $@ --parallel --with pkgkde_symbolshelper --dbg-package=qtdeclarative5-dbg
@@ -47,5 +48,7 @@
 override_dh_builddeb:
 	dh_builddeb -- -Zxz
 
-# Requires X so disabled for now
 override_dh_auto_test:
+	export LD_LIBRARY_PATH=$(CURDIR)/lib
+	cd tests/auto/unit/ && ( test -e Makefile || qmake unit.pro -o Makefile ) && make -f Makefile check
+

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

Reply via email to