From f0498a77f95c92924af939018ebff22c2e7fbbc4 Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Tue, 13 Dec 2016 09:09:56 -0800 Subject: [PATCH] [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 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 46beebef1..3d1b574c0 100644 --- a/Makefile +++ b/Makefile @@ -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 \