Closed
Bug 1480370
Opened 7 years ago
Closed 7 years ago
./mach static-analysis check FILE fails
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
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)
Comment hidden (mozreview-request) |
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → bpostelnicu
Assignee | ||
Updated•7 years ago
|
Attachment #8996969 -
Flags: review?(babadie)
Reporter | ||
Comment 2•7 years ago
|
||
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+
Reporter | ||
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8996969 [details]
Bug 1480370 - pass checks to _get_clang_tidy_command.
https://reviewboard.mozilla.org/r/260944/#review267988
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a2d65d03e46a
pass checks to _get_clang_tidy_command. r=babadie+588857
Comment 5•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•