Closed Bug 1480370 Opened 7 years ago Closed 7 years ago

./mach static-analysis check FILE fails

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

defect
Not set
normal

Tracking

(firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: bastien.abadie, Assigned: andi)

Details

Attachments

(1 file)

When running a simple ./mach static-analysis check FILE, it fais with the following output. The error is on line 1703 of python/mozbuild/mozbuild/mach_commands.py, where check should be checks Error running mach: ['--log-no-times', 'static-analysis', 'check', 'dom/base/TimeoutManager.cpp'] The error occurred in the implementation of the invoked mach command. This should never occur and is likely a bug in the implementation of that command. Consider filing a bug for this issue. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: TypeError: _get_clang_tidy_command() got an unexpected keyword argument 'check' File "/app/tmp/sa-central/python/mozbuild/mozbuild/mach_commands.py", line 1703, in check check=checks, header_filter=header_filter, sources=source, jobs=jobs, fix=fix)
Assignee: nobody → bpostelnicu
Attachment #8996969 - Flags: review?(babadie)
Comment on attachment 8996969 [details] Bug 1480370 - pass checks to _get_clang_tidy_command. Tested on my local instance of static analysis bot, clang-tidy works again. Thanks !
Attachment #8996969 - Flags: review?(babadie) → review+
Pushed by bpostelnicu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a2d65d03e46a pass checks to _get_clang_tidy_command. r=babadie+588857
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: