From 01731e21eecdc14e1e657b7678eafccccef414fc Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 3 Feb 2016 17:30:27 -0800 Subject: [PATCH] Guard against missing source file in test invocation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e37b4a68..b1f6999c 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ SPACE = $(NULL) $(NULL) test: tippecanoe tippecanoe-decode $(addsuffix .check,$(TESTS)) parallel-test %.json.check: - ./tippecanoe -f -o $@.mbtiles $(subst _, ,$(patsubst %.json.check,%,$(word 4,$(subst /, ,$@)))) $(wildcard $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/*.json) + ./tippecanoe -f -o $@.mbtiles $(subst _, ,$(patsubst %.json.check,%,$(word 4,$(subst /, ,$@)))) $(wildcard $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/*.json) < /dev/null ./tippecanoe-decode $@.mbtiles > $@.out cmp $(patsubst %.check,%,$@) $@.out rm $@.out $@.mbtiles