[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
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent 16010adab4
commit 2485491e93

@ -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:

Loading…
Cancel
Save