From 051fbd779cea85a54980544982382dcd49ca1208 Mon Sep 17 00:00:00 2001 From: Martino Luca Date: Tue, 27 Sep 2016 10:37:48 -0700 Subject: [PATCH] [Buck] Emit xml stub during `buck_test_xml` target Reviewed By: jvillard Differential Revision: D3930854 fbshipit-source-id: 17f8035 --- Makefile | 2 +- infer/tests/build_systems/build_integration_tests.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de2ad7ce3..d69d4652d 100644 --- a/Makefile +++ b/Makefile @@ -167,7 +167,7 @@ buck_test: infer buck_test_xml: infer make direct_tests - buck test --xml test.xml # TODO: generate test.xml with test results + echo '' > test.xml # TODO: generate test.xml with test results NO_BUCKD=1 ./infer/tests/build_systems/build_integration_tests.py inferTraceBugs_test: infer diff --git a/infer/tests/build_systems/build_integration_tests.py b/infer/tests/build_systems/build_integration_tests.py index c0242aac9..881aba5c8 100755 --- a/infer/tests/build_systems/build_integration_tests.py +++ b/infer/tests/build_systems/build_integration_tests.py @@ -349,6 +349,7 @@ class BuildIntegrationTest(unittest.TestCase): ROOT_DIR, [{'compile': ['buck', 'build', target]}], clean_commands=[['buck', 'clean']], + enabled=(sys.platform == 'darwin'), available=lambda: is_tool_available(['buck', '--version'])) def test_make_integration(