Setup environment variable NO_BUCKD when running the integration test for Buck

Summary:public
This can avoid watchman to freeze or slow down the test. We don't need to Buck daemon anyway when running the test as setting up the configutation to run Infer as an external compiler invalidates the Buck in-memory data anyway.

Reviewed By: jberdine

Differential Revision: D2942424

fb-gh-sync-id: 38a39d7
shipit-source-id: 38a39d7
master
jrm 9 years ago committed by facebook-github-bot-5
parent 55cb61dbda
commit e6174f31ae

@ -87,7 +87,7 @@ buck_test_xml: $(INFER_ANALYZERS)
NO_BUCKD=1 buck test --xml test.xml $(TARGETS_TO_TEST) NO_BUCKD=1 buck test --xml test.xml $(TARGETS_TO_TEST)
build_integration_tests: $(INFER_ANALYZERS) build_integration_tests: $(INFER_ANALYZERS)
./scripts/build_integration_tests.py NO_BUCKD=1 ./scripts/build_integration_tests.py
test: buck_test test: buck_test

Loading…
Cancel
Save