[make] make sure all tests run before test-replace

Summary:
Run `make -k run-tests` before replacing .exp files with their .exp.test
counterparts. This is the intuitive behaviour according to popular opinions.

Reviewed By: akotulski

Differential Revision: D4320050

fbshipit-source-id: 7c93a76
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent 5bd4daa900
commit f0498a77f9

@ -228,6 +228,7 @@ quick-test: test_this_build ocaml_unit_test
.PHONY: test-replace
test-replace:
@$(MAKE) -k run-test
@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