From 12a6242ef1506ec5609a9af8d683f11a34c71556 Mon Sep 17 00:00:00 2001 From: Erica Fischer Date: Tue, 22 Nov 2022 14:39:36 -0800 Subject: [PATCH] Exclude whole classes of tests that won't work with flatgeobuf --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 5ec03a63..cc96afa9 100644 --- a/Makefile +++ b/Makefile @@ -100,6 +100,12 @@ nogeobuf = tests/overflow/out/-z0.json $(wildcard tests/stringid/out/*.json) # Don't test attribute-type with geobuf, because ogr2ogr doesn't support different types for the same attribute between features noflatgeobuf = $(wildcard tests/attribute-type/out/*.json) +# These inputs all have feature IDs, which aren't supported by flatgeobuf +noflatgeobuf += $(foreach dir,coalesce-id feature-filter id overflow stringid wyalkatchem,$(wildcard tests/$(dir)/out/*.json)) +# These inputs all have null attributes, which aren't supported by flatgeobuf +noflatgeobuf += $(foreach dir,attribute-type border dateline epsg-3857 feature-filter islands ne_110m_admin_1_states_provinces_lines ne_110m_populated_places tl_2018_51685_roads wraparound,$(wildcard tests/$(dir)/out/*.json)) +# These inputs have weird GeoJSON geometry types, which aren't supported by flatgeobuf +noflatgeobuf += $(foreach dir,geometry,$(wildcard tests/$(dir)/out/*.json)) geobuf-test: tippecanoe-json-tool $(addsuffix .checkbuf,$(filter-out $(nogeobuf),$(TESTS))) flatgeobuf-test: tippecanoe-json-tool $(addsuffix .checkflatbuf,$(filter-out $(noflatgeobuf),$(TESTS)))