Bug 1596456 - unpack arguments as list to `_get_infer_args`. r=sylvestre
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Mon, 18 Nov 2019 12:05:28 +0000
changeset 502405 a0e0c81e36237ce624a44897278ea842bb04ed0a
parent 502404 ce1b32236689a46bed461fe3ca79df58414394bc
child 502406 f0dfc557b20c1dd9c2865df1db2a34dc783c92f8
child 502501 edad970978193a3e5188e74dd09640039d6e2c76
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssylvestre
bugs1596456
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1596456 - unpack arguments as list to `_get_infer_args`. r=sylvestre Differential Revision: https://phabricator.services.mozilla.com/D53398
python/mozbuild/mozbuild/code-analysis/mach_commands.py
--- a/python/mozbuild/mozbuild/code-analysis/mach_commands.py
+++ b/python/mozbuild/mozbuild/code-analysis/mach_commands.py
@@ -816,21 +816,18 @@ class StaticAnalysis(MachCommandBase):
                 return rc
         rc = self._get_infer(verbose=verbose)
         if rc != 0:
             self.log(logging.WARNING, 'static-analysis', {},
                      'This command is only available for linux64!')
             return rc
         # which checkers to use, and which folders to exclude
         all_checkers, third_party_path, generated_path = self._get_infer_config()
-        checkers, excludes = self._get_infer_args(
-            checks=checks or all_checkers,
-            third_party_path=third_party_path,
-            generated_path=generated_path
-        )
+        checkers, excludes = self._get_infer_args(checks or all_checkers, third_party_path,
+                                                  generated_path)
         rc = rc or self._gradle(['clean'])  # clean so that we can recompile
         # infer capture command
         capture_cmd = [self._infer_path, 'capture'] + excludes + ['--']
         rc = rc or self._gradle([task], infer_args=capture_cmd, verbose=verbose)
         tmp_file, args = self._get_infer_source_args(java_sources)
         # infer analyze command
         analysis_cmd = [self._infer_path, 'analyze', '--keep-going'] +  \
             checkers + args