Closed Bug 1666993 Opened 6 years ago Closed 6 years ago

Report during review phase build errors for files that have been fixed to be compatible to the non-unified system

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement)

enhancement

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: andi, Assigned: andi)

Details

Attachments

(1 file)

Since we've started fixing modules for mozilla-central in order to have the compile outside of the unified environment we should have a mechanism in place that reports errors when patches break them.

Component: Developer Environment Integration → Lint and Formatting
Component: Lint and Formatting → Source Code Analysis
  1. We build a list with directories, from non-unified-compat that have been fixed and
    permit compiling of C++ files outside of the unified environment. With this list
    we eliminate the unified sources and instead use the original source for command
    attribute from compile_commands.json.
    In this way if a regression appears clang-tidy will report it since it no longer uses
    the unified environment for files that are compatible to be compiled standalone.

  2. Remove the coverity functionality that was reading and using non-unified build files
    since in practive it prooved to be sub-optimal.

Attachment #9177556 - Attachment description: Bug 1666993 - prevent regressing issues with files that can be built outside of the unified environment. → Bug 1666993 - new bakend for static-analysis that prevents regressing issues with files that can be built outside of the unified environment.
Pushed by bpostelnicu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3423677b0444 new bakend for static-analysis that prevents regressing issues with files that can be built outside of the unified environment. r=botond
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
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: