[mapnik-vector-tile] 02/05: Add patch to skip tests for missing data.

Bas Couwenberg sebastic at debian.org
Fri Aug 5 22:21:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository mapnik-vector-tile.

commit 76bd8beea70e6d6700acf11303c5ae4268fb47e0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Aug 6 00:00:12 2016 +0200

    Add patch to skip tests for missing data.
---
 debian/changelog                                 |  1 +
 debian/patches/series                            |  1 +
 debian/patches/skip-tests-for-missing-data.patch | 43 ++++++++++++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index df62b1d..24efb0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ mapnik-vector-tile (1.2.1+dfsg-1) UNRELEASED; urgency=medium
   * Bump minimum required Mapnik to 3.0.12.
   * Update clipper to ac8d6bf2517f46c05647b5c19cac113fb180ffb4.
   * Add patch by Dane Springmeyer to add decode_geometry prototypes.
+  * Add patch to skip tests for missing data.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 05 Aug 2016 22:19:20 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 551dc00..401cbf4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 test_using_created_tif.patch
 use-protozero-package.patch
 decode_geometry.patch
+skip-tests-for-missing-data.patch
diff --git a/debian/patches/skip-tests-for-missing-data.patch b/debian/patches/skip-tests-for-missing-data.patch
new file mode 100644
index 0000000..3fb57c6
--- /dev/null
+++ b/debian/patches/skip-tests-for-missing-data.patch
@@ -0,0 +1,43 @@
+Description: Skip tests for missing data.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/test/raster_tile.cpp
++++ b/test/raster_tile.cpp
+@@ -28,6 +28,9 @@
+ #include <sstream>
+ #include <fstream>
+ 
++// Skip test due to missing natural_earth.tif
++#if 0
++
+ TEST_CASE("raster tile output 1")
+ {
+     // this test should create raster tile with one raster layer
+@@ -157,6 +160,8 @@ TEST_CASE("raster tile output 1")
+     }
+ }
+ 
++#endif
++
+ TEST_CASE("raster tile output 2")
+ {
+     // the test is to check if you can overzoom a raster after encoding it into a vector tile
+--- a/test/geometry_visual_test.cpp
++++ b/test/geometry_visual_test.cpp
+@@ -242,6 +242,9 @@ mapnik::box2d<double> zoomed_out(mapnik:
+     return new_bbox;
+ }
+ 
++// Skip test due to missing geometry-test-data
++#if 0
++
+ TEST_CASE("geometries visual tests")
+ {
+     std::vector<std::string> geometries = mapnik::util::list_directory("./test/geometry-test-data/input");
+@@ -287,3 +290,5 @@ TEST_CASE("geometries visual tests")
+         }
+     }
+ }
++
++#endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapnik-vector-tile.git



More information about the Pkg-grass-devel mailing list