Closed Bug 1527286 Opened 5 years ago Closed 5 years ago

[clang-tormat] mach 'clang-format' fails if we pass a file that doesn't exist.

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

defect
Not set
normal

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: andi, Assigned: andi)

Details

Attachments

(1 file)

Looking at [this](bastien: https://tools.taskcluster.net/groups/RRkRGdvCSYiEWojCijMmTA/tasks/RRkRGdvCSYiEWojCijMmTA/runs/0/logs/public%2Flogs%2Flive.log) way how the static-analysis bot fails when formatting C/C++ files it seems that the fail was because in the input list there were files that were not on the disk since the patch added new files and the first run was performed on a clean tree.

Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a273edea702d
For 'mach clang-format' don't pass files that we don't exist on the disk. r=sylvestre
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
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: