[SCM] qtlocation packaging branch, kubuntu_unstable, updated. ubuntu/5.4.2-1ubuntu1-8-g8b493ef
Rohan Garg
rohangarg-guest at moszumanska.debian.org
Tue Sep 8 13:44:50 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtlocation.git;a=commitdiff;h=87982e4
The following commit has been merged in the kubuntu_unstable branch:
commit 87982e4e591ef26350242f11a3853b04a7228eeb
Author: Timo Jyrinki <timo.jyrinki at canonical.com>
Date: Tue Jul 14 11:10:43 2015 +0000
Ubuntu packaging has different test setup, probably want to bring Debian style in instead.
---
debian/patches/disable_failing_tests.patch | 23 --------
debian/patches/series | 3 +-
debian/patches/skip_failing_tests.patch | 86 ++++++++++++++++++++++++++++++
debian/rules | 2 +-
4 files changed, 88 insertions(+), 26 deletions(-)
diff --git a/debian/patches/disable_failing_tests.patch b/debian/patches/disable_failing_tests.patch
deleted file mode 100644
index a178ae6..0000000
--- a/debian/patches/disable_failing_tests.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Description: disable failing tests
- This tests seems to need a source of information to properly work.
- So far I couldn't understand how to add that source or if it is possible at
- all.
- Disable them until we can work it out.
-Author: Lisandro Damián Nicanor Pérez Meyer <lisandro at debian.org>
-Forwarded: not-needed
-Last-Update: 2014-06-07
-
----
- tests/auto/auto.pro | 2 --
- 1 file changed, 2 deletions(-)
-
---- a/tests/auto/auto.pro
-+++ b/tests/auto/auto.pro
-@@ -76,7 +76,5 @@ SUBDIRS += \
- qgeocoordinate \
- qgeolocation \
- qgeopositioninfo \
-- qgeopositioninfosource \
- qgeosatelliteinfo \
-- qgeosatelliteinfosource \
- qnmeapositioninfosource
diff --git a/debian/patches/series b/debian/patches/series
index fd4ecc3..17a5fb9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-disable_failing_tests.patch
-disable_qtlocation.patch
+skip_failing_tests.patch
diff --git a/debian/patches/skip_failing_tests.patch b/debian/patches/skip_failing_tests.patch
new file mode 100644
index 0000000..57450ff
--- /dev/null
+++ b/debian/patches/skip_failing_tests.patch
@@ -0,0 +1,86 @@
+Description: Skip failing tests
+ While enabling tests during build, skip those found failing pending
+ investigation.
+ .
+Author: Allan LeSage <allan.lesage at canonical.com>
+Forwarded: no
+Last-Updated: 2014-01-08
+
+--- a/tests/auto/auto.pro
++++ b/tests/auto/auto.pro
+@@ -25,7 +25,6 @@
+ qplacesearchsuggestionreply \
+ qplaceuser \
+ qplacemanager \
+- qplacemanager_nokia \
+ qplacemanager_unsupported \
+ placesplugin_unsupported
+
+@@ -53,7 +52,6 @@
+ qgeoroutexmlparser \
+ qgeomapcontroller \
+ maptype \
+- nokia_services \
+ qgeocameratiles
+
+ qtHaveModule(quick) {
+@@ -59,8 +59,5 @@
+ qtHaveModule(quick) {
+- SUBDIRS += declarative_core \
+- declarative_geoshape
+
+- !mac: SUBDIRS += declarative_ui
+ }
+ }
+
+@@ -75,7 +75,8 @@
+ qgeocoordinate \
+ qgeolocation \
+ qgeopositioninfo \
+- qgeopositioninfosource \
++ # skip this failing test
++ #qgeopositioninfosource \
+ qgeosatelliteinfo \
+ qgeosatelliteinfosource \
+ qnmeapositioninfosource
+diff -urN qtlocation-opensource-src-5.2.0.old/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp qtlocation-opensource-src-5.2.0/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp
+--- a/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp 2013-12-08 17:10:20.000000000 +0000
++++ b/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp 2014-01-20 06:57:05.501045608 +0000
+@@ -459,12 +459,12 @@
+ << QGeoCoordinate() << BRISBANE << qreal(0.0);
+ QTest::newRow("invalid coord 2")
+ << BRISBANE << QGeoCoordinate() << qreal(0.0);
+- QTest::newRow("brisbane -> melbourne")
+- << BRISBANE << MELBOURNE << qreal(1374820.1618767744);
+- QTest::newRow("london -> new york")
+- << LONDON << NEW_YORK << qreal(5570538.4987236429);
+- QTest::newRow("north pole -> south pole")
+- << NORTH_POLE << SOUTH_POLE << qreal(20015109.4154876769);
++ //QTest::newRow("brisbane -> melbourne")
++ // << BRISBANE << MELBOURNE << qreal(1374820.1618767744);
++ //QTest::newRow("london -> new york")
++ // << LONDON << NEW_YORK << qreal(5570538.4987236429);
++ //QTest::newRow("north pole -> south pole")
++ // << NORTH_POLE << SOUTH_POLE << qreal(20015109.4154876769);
+ }
+
+ void azimuthTo()
+@@ -486,12 +486,12 @@
+ << QGeoCoordinate() << BRISBANE << qreal(0.0);
+ QTest::newRow("invalid coord 2")
+ << BRISBANE << QGeoCoordinate() << qreal(0.0);
+- QTest::newRow("brisbane -> melbourne")
+- << BRISBANE << MELBOURNE << qreal(211.1717286649);
+- QTest::newRow("london -> new york")
+- << LONDON << NEW_YORK << qreal(288.3388804508);
+- QTest::newRow("north pole -> south pole")
+- << NORTH_POLE << SOUTH_POLE << qreal(180.0);
++ //QTest::newRow("brisbane -> melbourne")
++ // << BRISBANE << MELBOURNE << qreal(211.1717286649);
++ //QTest::newRow("london -> new york")
++ // << LONDON << NEW_YORK << qreal(288.3388804508);
++ //QTest::newRow("north pole -> south pole")
++ // << NORTH_POLE << SOUTH_POLE << qreal(180.0);
+ }
+
+ void atDistanceAndAzimuth()
diff --git a/debian/rules b/debian/rules
index 3f77a6e..8575551 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,7 +42,7 @@ override_dh_install:
override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
- dbus-launch --exit-with-session dh_auto_test -- QT_QPA_PLATFORM=minimal QT_DEBUG_PLUGINS=1 QT_PLUGIN_PATH=$(CURDIR)/plugins
+ xvfb-run -a -s '-screen 0 640x480x24' dh_auto_test -- QT_PLUGIN_PATH=$(CURDIR)/plugins LD_LIBRARY_PATH=$(CURDIR)/lib
endif
override_dh_auto_clean:
--
qtlocation packaging
More information about the pkg-kde-commits
mailing list