Merge lp:~om26er/kubuntu-packaging/qtsystems_unittests into lp:~kubuntu-packagers/kubuntu-packaging/qtsystems-opensource-src

Proposed by Omer Akram
Status: Merged
Merged at revision: 23
Proposed branch: lp:~om26er/kubuntu-packaging/qtsystems_unittests
Merge into: lp:~kubuntu-packagers/kubuntu-packaging/qtsystems-opensource-src
Diff against target: 79 lines (+48/-0)
4 files modified
debian/control (+1/-0)
debian/patches/series (+1/-0)
debian/patches/skip_failing_tests.patch (+42/-0)
debian/rules (+4/-0)
To merge this branch: bzr merge lp:~om26er/kubuntu-packaging/qtsystems_unittests
Reviewer Review Type Date Requested Status
Timo Jyrinki Approve
Review via email: mp+198439@code.launchpad.net

Commit message

Run unittests during build, disable failing tests

Description of the change

Run unittests during build, disable failing tests

To post a comment you must log in.
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

bzr bd fails:
Applying patch disable_qservicemanager_ipc.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|=== modified file 'tests/auto/serviceframework/serviceframework.pro'
|--- tests/auto/serviceframework/serviceframework.pro 2013-06-14 10:32:13 +0000
|+++ tests/auto/serviceframework/serviceframework.pro 2013-12-10 17:11:31 +0000
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch disable_qservicemanager_ipc.patch does not apply (enforce with -f)

review: Needs Fixing
24. By Omer Akram

fix the patch

Revision history for this message
Omer Akram (om26er) wrote :

sorry about that. Fixed the patch now.

25. By Omer Akram

add patch to skip failing tests

26. By Omer Akram

revert last commit

27. By Omer Akram

skip more failing tests

28. By Omer Akram

delete newly added patches

29. By Omer Akram

add DEP3 compiliant patch to skip failing tests

30. By Omer Akram

add missing build-dep for successfully running unittests

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2013-07-11 12:58:03 +0000
3+++ debian/control 2013-12-17 09:25:21 +0000
4@@ -7,6 +7,7 @@
5 qt5-default,
6 qtbase5-private-dev,
7 qtdeclarative5-private-dev,
8+ libqt5sql5-sqlite,
9 Standards-Version: 3.9.4
10 Homepage: http://qt-project.org/
11 Vcs-Git: git://anonscm.debian.org/pkg-kde/qt/qtsystems.git
12
13=== modified file 'debian/patches/series'
14--- debian/patches/series 2013-09-30 06:12:54 +0000
15+++ debian/patches/series 2013-12-17 09:25:21 +0000
16@@ -2,3 +2,4 @@
17 add_license_files.patch
18 build_with_udisk.patch
19 wlan_detect.patch
20+skip_failing_tests.patch
21
22=== added file 'debian/patches/skip_failing_tests.patch'
23--- debian/patches/skip_failing_tests.patch 1970-01-01 00:00:00 +0000
24+++ debian/patches/skip_failing_tests.patch 2013-12-17 09:25:21 +0000
25@@ -0,0 +1,42 @@
26+Description: Disable the failing tests
27+Forwarded: not-needed
28+Bug: https://bugreports.qt-project.org/browse/QTBUG-35662
29+Bug-Ubuntu: https://launchpad.net/bugs/1261411
30+Author: Omer Akram <om26er@ubuntu.com>
31+
32+=== modified file 'tests/auto/serviceframework/qremoteserviceregister/tst_qremoteserviceregister.cpp'
33+--- a/tests/auto/serviceframework/qremoteserviceregister/tst_qremoteserviceregister.cpp 2013-06-14 10:32:13 +0000
34++++ b/tests/auto/serviceframework/qremoteserviceregister/tst_qremoteserviceregister.cpp 2013-12-12 13:18:44 +0000
35+@@ -229,6 +229,7 @@
36+
37+ void tst_QRemoteServiceRegister::tst_instanceClosed()
38+ {
39++ QSKIP("QTBUG-35662: fails due to missing /etc/machine-id");
40+ qRegisterMetaType<QRemoteServiceRegister::Entry>("QRemoteServiceRegister::Entry");
41+ if(!servicePublished)
42+ serviceRegister->publishEntries("qt_sfw_example_rsr_unittest");
43+
44+=== modified file 'tests/auto/serviceframework/servicedeletion/tst_servicedeletion.cpp'
45+--- a/tests/auto/serviceframework/servicedeletion/tst_servicedeletion.cpp 2013-06-14 10:32:13 +0000
46++++ b/tests/auto/serviceframework/servicedeletion/tst_servicedeletion.cpp 2013-12-12 13:26:29 +0000
47+@@ -116,6 +116,7 @@
48+
49+ void tst_QServiceDeletion::publishService()
50+ {
51++ QSKIP("LP: #1261411 fails due to missing /etc/machine-id");
52+ QRemoteServiceRegister *serviceRegister = new QRemoteServiceRegister(this);
53+
54+ QString serviceName = "TestService";
55+
56+=== modified file 'tests/auto/serviceframework/serviceframework.pro'
57+--- a/tests/auto/serviceframework/serviceframework.pro 2013-06-14 10:32:13 +0000
58++++ b/tests/auto/serviceframework/serviceframework.pro 2013-12-10 17:11:31 +0000
59+@@ -5,7 +5,7 @@
60+ qservicefilter \
61+ qserviceinterfacedescriptor \
62+ qservicemanager \
63+- qservicemanager_ipc \
64++# qservicemanager_ipc \ #(is failing on Ubuntu)
65+ qservicemetadata \
66+ servicedeletion
67+ # serviceobject
68
69=== modified file 'debian/rules'
70--- debian/rules 2013-08-09 08:44:14 +0000
71+++ debian/rules 2013-12-17 09:25:21 +0000
72@@ -40,3 +40,7 @@
73 override_dh_builddeb:
74 dh_builddeb -- -Zxz
75
76+override_dh_auto_test:
77+ export LD_LIBRARY_PATH=$(CURDIR)/lib
78+ cd tests/auto/ && ( test -e Makefile || qmake auto.pro -o Makefile ) && make -f Makefile check
79+

Subscribers

People subscribed via source and target branches

to all changes: