[classloads] add `replace` target to tests

Summary: The Makefile was missing that target and making `make test-replace` at the root of the repo fail.

Reviewed By: ngorogiannis

Differential Revision: D13990483

fbshipit-source-id: 805b5d2a9
master
Jules Villard 6 years ago committed by Facebook Github Bot
parent d904ab76ec
commit 1aa413a65d

@ -39,7 +39,7 @@ $(OBJECTS): $(SOURCES)
issues.exp.test$(TEST_SUFFIX): $(INFER_OUT)/report.json $(INFER_BIN) issues.exp.test$(TEST_SUFFIX): $(INFER_OUT)/report.json $(INFER_BIN)
$(QUIET)$(INFER_BIN) report -q --results-dir $(<D) \ $(QUIET)$(INFER_BIN) report -q --results-dir $(<D) \
$(INFERPRINT_OPTIONS) $@ --from-json-report $< $(INFERPRINT_OPTIONS) $@ --from-json-report $<
infer-out/report.json: $(JAVA_DEPS) $(SOURCES) $(MAKEFILE_LIST) infer-out/report.json: $(JAVA_DEPS) $(SOURCES) $(MAKEFILE_LIST)
$(QUIET)$(call silent_on_success,Testing infer/java in $(TEST_REL_DIR),\ $(QUIET)$(call silent_on_success,Testing infer/java in $(TEST_REL_DIR),\
$(INFER_BIN) --project-root $(PROJECT_ROOT) \ $(INFER_BIN) --project-root $(PROJECT_ROOT) \
@ -60,3 +60,6 @@ test: loads.exp loads.exp.test
$(QUIET)cd $(TESTS_DIR) && \ $(QUIET)cd $(TESTS_DIR) && \
$(call check_no_diff,$(TEST_REL_DIR)/loads.exp,$(TEST_REL_DIR)/loads.exp.test) $(call check_no_diff,$(TEST_REL_DIR)/loads.exp,$(TEST_REL_DIR)/loads.exp.test)
.PHONY: replace
replace:
@:

Loading…
Cancel
Save