[make] add mod_dep target to parallelise test

Summary: This takes several seconds and is better tested in parallel with the other tests instead of at the end.

Reviewed By: mbouaziz

Differential Revision: D5591774

fbshipit-source-id: f474cae
master
Jules Villard 7 years ago committed by Facebook Github Bot
parent 8de2b88783
commit df77ef423e

@ -343,11 +343,14 @@ else
@: @:
endif endif
.PHONY: config_tests .PHONY: mod_dep
config_tests: test_build ocaml_unit_test endtoend_test checkCopyright validate-skel mod_dep: src_build_common
$(QUIET)$(call silent_on_success,Building Infer source dependency graph,\ $(QUIET)$(call silent_on_success,Building Infer source dependency graph,\
$(MAKE) -C $(SRC_DIR) mod_dep.dot) $(MAKE) -C $(SRC_DIR) mod_dep.dot)
.PHONY: config_tests
config_tests: test_build ocaml_unit_test endtoend_test checkCopyright validate-skel mod_dep
.PHONY: test .PHONY: test
test: crash_if_not_all_analyzers_enabled config_tests test: crash_if_not_all_analyzers_enabled config_tests
ifeq (,$(findstring s,$(MAKEFLAGS))) ifeq (,$(findstring s,$(MAKEFLAGS)))

Loading…
Cancel
Save