[infer][test] proceed on failures when replacing the .exp files

Summary: The command `make -k run-test` does not stop in case of failure but still exits with an error code, preventing the actual the .exp file to be replaced by the new analysis results.

Reviewed By: jvillard

Differential Revision: D4326028

fbshipit-source-id: 3354458
master
Jeremy Dubreil 8 years ago committed by Facebook Github Bot
parent 4682393cd6
commit a11446ea96

@ -228,7 +228,7 @@ quick-test: test_this_build ocaml_unit_test
.PHONY: test-replace
test-replace:
@$(MAKE) -k run-test
@$(MAKE) -k run-test || true
@for file in $$(find $(INFER_DIR)/tests -name "*.exp.test"); do \
mv -f $$file $$(dirname $$file)/$$(basename -s .exp.test $$file).exp; done
@for file in $$(find $(INFER_DIR)/tests -name "*.test.dot"); do \

Loading…
Cancel
Save