I Ahmad has proposed merging 
lp:~iahmad/kubuntu-packaging/qtxmlpatterns-enable-unit-tests into 
lp:~kubuntu-packagers/kubuntu-packaging/qtxmlpatterns-opensource-src.

Requested reviews:
  Timo Jyrinki (timo-jyrinki)

For more details, see:
https://code.launchpad.net/~iahmad/kubuntu-packaging/qtxmlpatterns-enable-unit-tests/+merge/198898

Enabled the make check and conditionally disabled the network dependent test 
cases.
-- 
https://code.launchpad.net/~iahmad/kubuntu-packaging/qtxmlpatterns-enable-unit-tests/+merge/198898
Your team Kubuntu Packagers is subscribed to branch 
lp:~kubuntu-packagers/kubuntu-packaging/qtxmlpatterns-opensource-src.
=== modified file 'debian/changelog'
--- debian/changelog	2013-12-13 06:26:38 +0000
+++ debian/changelog	2013-12-13 10:04:49 +0000
@@ -1,4 +1,4 @@
-qtxmlpatterns-opensource-src (5.2.0-0ubuntu1) UNRELEASED; urgency=low
+qtxmlpatterns-opensource-src (5.2.0-0ubuntu2) UNRELEASED; urgency=low
 
   [ Lisandro Damián Nicanor Pérez Meyer ]
   * Make every package that ships a binary managed by qtchooser depend on it.
@@ -8,7 +8,12 @@
   * Sync with Debian, no remaining differences
   * Bump build-deps to 5.1.1
 
- -- Timo Jyrinki <[email protected]>  Fri, 30 Aug 2013 06:38:12 +0000
+  [ Iftikhar Ahmad (QA Engineer) ]
+  * Enabled make check
+  * Conditionally skipped the network dependent unit tests.
+
+
+ -- Iftikhar Ahmad (QA Engineer) <[email protected]>  Fri, 13 Dec 2013 14:18:53 +0500
 
 qtxmlpatterns-opensource-src (5.1.0-2) unstable; urgency=low
 

=== added directory 'debian/patches'
=== added file 'debian/patches/enable-make-check.patch'
--- debian/patches/enable-make-check.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/enable-make-check.patch	2013-12-13 10:04:49 +0000
@@ -0,0 +1,28 @@
+--- a/tests/auto/auto.pro
++++ b/tests/auto/auto.pro
+@@ -19,12 +19,10 @@ SUBDIRS=\
+            qxmlname                     \
+            qxmlnamepool                 \
+            qxmlnodemodelindex           \
+-           qxmlquery                    \
+            qxmlresultitems              \
+            qxmlschema                   \
+            qxmlschemavalidator          \
+            qxmlserializer               \
+-           xmlpatterns                  \
+            xmlpatternsdiagnosticsts     \
+            xmlpatternsschema            \
+            xmlpatternsschemats          \
+@@ -32,7 +30,11 @@ SUBDIRS=\
+            xmlpatternsvalidator         \
+            xmlpatternsview              \
+            xmlpatternsxqts              \
+-           xmlpatternsxslts             \
++           xmlpatternsxslts
++
++#skip the network tests for unix platform.
++!unix:SUBDIRS += qxmlquery
++!unix:SUBDIRS += xmlpatterns
+ 
+ xmlpatternsdiagnosticsts.depends = xmlpatternssdk
+ xmlpatternsview.depends = xmlpatternssdk

=== added file 'debian/patches/series'
--- debian/patches/series	1970-01-01 00:00:00 +0000
+++ debian/patches/series	2013-12-13 10:04:49 +0000
@@ -0,0 +1,1 @@
+enable-make-check.patch

=== modified file 'debian/rules'
--- debian/rules	2013-12-13 09:49:16 +0000
+++ debian/rules	2013-12-13 10:04:49 +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=qtxmlpatterns5-dbg
@@ -35,3 +36,7 @@
 
 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
+

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

Reply via email to