From 3ece750c1511967dd498bf022e0274ceaa2a2fd6 Mon Sep 17 00:00:00 2001 From: jrm Date: Sun, 7 Feb 2016 21:04:38 -0800 Subject: [PATCH] disable on-demand for the checkers while we fix the filename too long issue Reviewed By: cristianoc Differential Revision: D2910702 fb-gh-sync-id: e081b3c --- infer/lib/python/inferlib/analyze.py | 4 +++- infer/tests/codetoanalyze/java/checkers/BUCK | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/infer/lib/python/inferlib/analyze.py b/infer/lib/python/inferlib/analyze.py index 25ef18402..0838a7316 100644 --- a/infer/lib/python/inferlib/analyze.py +++ b/infer/lib/python/inferlib/analyze.py @@ -431,7 +431,9 @@ class Infer: infer_options += ['-project_root', self.args.project_root] if self.args.analyzer in [config.ANALYZER_CHECKERS]: - os.environ['INFER_ONDEMAND'] = 'Y' + # TODO: 9936222: restore on-demand for the checkers + # os.environ['INFER_ONDEMAND'] = 'Y' + pass os.environ['INFER_OPTIONS'] = ' '.join(infer_options) diff --git a/infer/tests/codetoanalyze/java/checkers/BUCK b/infer/tests/codetoanalyze/java/checkers/BUCK index dc85ce926..cc1259a76 100644 --- a/infer/tests/codetoanalyze/java/checkers/BUCK +++ b/infer/tests/codetoanalyze/java/checkers/BUCK @@ -19,6 +19,7 @@ out = 'out' clean_cmd = ' '.join(['rm', '-rf', out]) classpath = ':'.join([('$(classpath ' + path + ')') for path in dependencies]) infer_cmd = ' '.join([ + 'INFER_ONDEMAND=Y', 'infer', '--no-progress-bar', '--absolute-paths',