No need to have these parts of the test run in the same subshell

This commit is contained in:
Eric Fischer 2016-01-28 10:57:55 -08:00
parent 528bca6629
commit 2a94d8084d

@ -72,7 +72,7 @@ prep-test:
test: tippecanoe tippecanoe-decode $(addsuffix .check,$(TESTS))
%.json.check:
./tippecanoe -f -o $@.mbtiles $(subst _, ,$(patsubst %.json.check,%,$(word 4,$(subst /, ,$@)))) $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/in.json && \
./tippecanoe-decode $@.mbtiles > $@.out && \
cmp $(patsubst %.check,%,$@) $@.out && \
./tippecanoe -f -o $@.mbtiles $(subst _, ,$(patsubst %.json.check,%,$(word 4,$(subst /, ,$@)))) $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/in.json
./tippecanoe-decode $@.mbtiles > $@.out
cmp $(patsubst %.check,%,$@) $@.out
rm $@.out $@.mbtiles