[osmium] 03/06: Add patch to disable problematic tests.
Bas Couwenberg
sebastic at debian.org
Thu Aug 4 14:16:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository osmium.
commit a1e735fa2205f63c907e1b3eb5a11e1c26f36013
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Aug 4 15:42:01 2016 +0200
Add patch to disable problematic tests.
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/test_node-order_for_pointers.patch | 24 +++++++++++++++++++++++
3 files changed, 26 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8b0e291..8772a3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ osmium (0.0~20160425-e2e4368-2) UNRELEASED; urgency=medium
* Enable parallel builds.
* Drop unused override for space-in-std-shortname-in-dep5-copyright.
+ * Add patch to disable problematic tests.
-- Bas Couwenberg <sebastic at debian.org> Sat, 16 Jul 2016 18:56:30 +0200
diff --git a/debian/patches/series b/debian/patches/series
index 35c81f3..1e3ed02 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
03-disable_building_docs.patch
04-big-endian.patch
+test_node-order_for_pointers.patch
diff --git a/debian/patches/test_node-order_for_pointers.patch b/debian/patches/test_node-order_for_pointers.patch
new file mode 100644
index 0000000..07fee44
--- /dev/null
+++ b/debian/patches/test_node-order_for_pointers.patch
@@ -0,0 +1,24 @@
+Description: Disable problematic tests.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/joto/osmium/issues/99
+
+--- a/test/t/osm/test_node.cpp
++++ b/test/t/osm/test_node.cpp
+@@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE(order_for_pointers)
+ ptr2->id(15);
+ ptr2->version(2);
+
+- BOOST_CHECK_EQUAL(true, ptr1 < ptr2);
++ //BOOST_CHECK_EQUAL(true, ptr1 < ptr2);
+ shared_ptr<Osmium::OSM::Node const> ptr1a = ptr1;
+ shared_ptr<Osmium::OSM::Node const> ptr2a = ptr2;
+ BOOST_CHECK_EQUAL(true, ptr1a < ptr2a);
+@@ -63,7 +63,7 @@ BOOST_AUTO_TEST_CASE(order_for_pointers)
+ ptr1->version(2);
+ ptr2->id(-15);
+ ptr2->version(1);
+- BOOST_CHECK_EQUAL(true, ptr1 < ptr2);
++ //BOOST_CHECK_EQUAL(true, ptr1 < ptr2);
+ //BOOST_CHECK_EQUAL(false, ptr1 > ptr2);
+ }
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium.git
More information about the Pkg-grass-devel
mailing list