fuzzers: Add 000-init-db fuzzer.

Creates the .db files via make rather than via sourcing settings.sh
allowing pip fuzzers to interact correctly with `make clean`.

Fixes #604.

Signed-off-by: Tim 'mithro' Ansell <[email protected]>
This commit is contained in:
Tim 'mithro' Ansell
2019-02-05 00:44:09 +11:00
parent 68c2797f5b
commit 2eb1bf3bfe
6 changed files with 77 additions and 42 deletions
+3 -1
View File
@@ -18,8 +18,10 @@ $(1)/run.ok: $(addsuffix /run.ok,$(2))
$$(MAKE) -C $(1) run
endef
$(eval $(call fuzzer,000-init-db,))
ifneq ($(FUZZONLY),Y)
$(eval $(call fuzzer,001-part-yaml,))
$(eval $(call fuzzer,001-part-yaml,000-init-db))
$(eval $(call fuzzer,005-tilegrid,001-part-yaml))
else
all:: 005-tilegrid/run.ok