Validate skel less often since it is slow

Reviewed By: akotulski

Differential Revision: D4375563

fbshipit-source-id: bc432d4
master
Josh Berdine 8 years ago committed by Facebook Github Bot
parent a87b64f384
commit 2270b04252

@ -52,7 +52,7 @@ all: infer
.PHONY: src_build .PHONY: src_build
src_build: src_build:
ifeq ($(IS_FACEBOOK_TREE),yes) ifeq ($(IS_FACEBOOK_TREE),yes)
@$(MAKE) -C facebook @$(MAKE) -C facebook setup
endif endif
@$(MAKE) -C $(SRC_DIR) infer @$(MAKE) -C $(SRC_DIR) infer
ifeq ($(BUILD_C_ANALYZERS),yes) ifeq ($(BUILD_C_ANALYZERS),yes)
@ -96,7 +96,7 @@ endif
.PHONY: test_build .PHONY: test_build
test_build: clang_plugin test_build: clang_plugin
ifeq ($(IS_FACEBOOK_TREE),yes) ifeq ($(IS_FACEBOOK_TREE),yes)
@$(MAKE) -C facebook @$(MAKE) -C facebook setup
endif endif
@$(MAKE) -C $(SRC_DIR) test_build @$(MAKE) -C $(SRC_DIR) test_build
@ -209,9 +209,16 @@ inferScriptMode_test: test_build
checkCopyright: checkCopyright:
@$(MAKE) -C $(SRC_DIR) checkCopyright @$(MAKE) -C $(SRC_DIR) checkCopyright
.PHONY: validate-skel
validate-skel:
ifeq ($(IS_FACEBOOK_TREE),yes)
@$(MAKE) -C facebook validate
endif
.PHONY: test .PHONY: test
test: test_build ocaml_unit_test endtoend_test inferTraceBugs_test inferScriptMode_test \ test: test_build ocaml_unit_test endtoend_test inferTraceBugs_test inferScriptMode_test \
checkCopyright checkCopyright validate-skel
@$(MAKE) -C $(SRC_DIR) mod_dep.dot @$(MAKE) -C $(SRC_DIR) mod_dep.dot
ifeq (,$(findstring s,$(MAKEFLAGS))) ifeq (,$(findstring s,$(MAKEFLAGS)))
@echo "ALL TESTS PASSED" @echo "ALL TESTS PASSED"

Loading…
Cancel
Save