From b2b2322db7c138b2b580da4b83261815bf2a99eb Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Fri, 13 Nov 2015 02:27:21 -0800 Subject: [PATCH] rename INFER to INFER_EXECUTABLE Summary: public this follows the naming in other scripts Reviewed By: jeremydubreil Differential Revision: D2646981 fb-gh-sync-id: 4c69c1f --- scripts/build_integration_tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build_integration_tests.py b/scripts/build_integration_tests.py index 0e1d0ff5b..f78c2c76d 100755 --- a/scripts/build_integration_tests.py +++ b/scripts/build_integration_tests.py @@ -25,7 +25,7 @@ from inferlib import utils CURRENT_DIR = os.getcwd() REPORT_JSON = 'report.json' -INFER = 'infer' +INFER_EXECUTABLE = 'infer' RECORD_ENV = 'INFER_RECORD_INTEGRATION_TESTS' @@ -170,7 +170,7 @@ class BuildIntegrationTest(unittest.TestCase): root, ['ant', 'clean'], ['ant', 'compile'], - INFER) + INFER_EXECUTABLE) do_test(errors, os.path.join(root, 'ant_report.json')) else: print('\nSkipping Ant integration test') @@ -184,7 +184,7 @@ class BuildIntegrationTest(unittest.TestCase): root, ['gradle', 'clean'], ['gradle', 'build'], - INFER) + INFER_EXECUTABLE) do_test(errors, os.path.join(root, 'gradle_report.json')) else: print('\nSkipping Gradle integration test') @@ -198,7 +198,7 @@ class BuildIntegrationTest(unittest.TestCase): root, ['buck', 'clean'], ['buck', 'build', 'infer'], - INFER) + INFER_EXECUTABLE) report_path = os.path.join( CURRENT_DIR, 'infer', 'tests', 'buck_report.json') do_test(errors, report_path)