From 2485491e931b77d9a19cae1cbf1bc284e9798300 Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Wed, 9 Nov 2016 04:39:02 -0800 Subject: [PATCH] [tests] replace build_systems python tests as part of `make test-replace` Summary: The way to replace failing tests coming from build_integration_tests.py was not very discoverable, and now that we have a target for precisely this action we might as well use it. The downside is that it's much slower to run `make test-replace` that way but that's all the more incentive to migrate tests from python to Makefiles. Anyway most of that time is spend in the buck test, which is going to be migrated soon. Reviewed By: jeremydubreil Differential Revision: D4147121 fbshipit-source-id: 53689e9 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 80a48a1d5..8038cc11d 100644 --- a/Makefile +++ b/Makefile @@ -199,6 +199,8 @@ test-replace: mv -f $$file $$(dirname $$file)/$$(basename -s .exp.test $$file).exp; done @for file in $$(find $(INFER_DIR)/tests -name "*.test.dot"); do \ mv -f $$file $$(dirname $$file)/$$(basename -s .test.dot $$file).dot; done + INFER_RECORD_INTEGRATION_TESTS=1 NO_BUCKD=1 \ + $(INFER_DIR)/tests/build_systems/build_integration_tests.py .PHONY: uninstall uninstall: