[webkit-changes] [WebKit/WebKit] 2d6827: [Static Analyzer CI] Add smart pointer analysis qu...
Brianna Fan
noreply at github.com
Thu Sep 26 15:06:44 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2d68279abbd5dc5a27a5f59521fbb1fbbbb83c7f
https://github.com/WebKit/WebKit/commit/2d68279abbd5dc5a27a5f59521fbb1fbbbb83c7f
Author: Brianna Fan <bfan2 at apple.com>
Date: 2024-09-26 (Thu, 26 Sep 2024)
Changed paths:
M Tools/CISupport/ews-build/events.py
M Tools/CISupport/ews-build/factories.py
M Tools/CISupport/ews-build/loadConfig.py
M Tools/CISupport/ews-build/steps.py
M Tools/CISupport/ews-build/steps_unittest.py
Log Message:
-----------
[Static Analyzer CI] Add smart pointer analysis queue to EWS
https://bugs.webkit.org/show_bug.cgi?id=276625
rdar://131782284
Reviewed by Aakash Jain.
* Tools/CISupport/ews-build/factories.py:
(SmartPointerStaticAnalyzerFactory.__init__): Added.
* Tools/CISupport/ews-build/steps.py:
(RevertAppliedChanges.__init__): Add exclude argument to ignore given patterns.
(RevertAppliedChanges.run):
(ScanBuildSmartPointer): Copied from build-webkit with following differences:
- baseline arg added for building without PR changes applied
- Call FindUnexpectedStaticAnalyzerResults with expectations = False if baseline build
(ParseStaticAnalyzerResults): Copied from build-webkit. Added baseline arg.
(FindUnexpectedStaticAnalyzerResults): Copied from build-webkit. Added expectations arg.
(FindUnexpectedStaticAnalyzerResults.run):
- Run script with --check-expectations arg if expectations = True.
If there are failures, rebuild without changes.
- If expectations = False, compare PR results with baseline results.
(FindUnexpectedStaticAnalyzerResults.createResultMessage):
(DisplaySmartPointerResults): Copied from build-webkit. Slight differences in wording.
(DisplaySmartPointerResults.getFilesPerProject):
(DisplaySmartPointerResults.getResultSummary): Comment and block the PR if there are failures.
(PrintClangVersion): Copied from build-webkit with minor changes.
(ArchiveStaticAnalyzerResults): Ditto.
(UploadStaticAnalyzerResults): Ditto.
(ExtractStaticAnalyzerTestResults): Ditto.
Tools/CISupport/ews-build/events.py: Added steps to STEPS_TO_REPORT.
* Tools/CISupport/ews-build/steps_unittest.py:
* Tools/CISupport/ews-build/config.json:
* Tools/CISupport/ews-build/loadConfig.py:
Canonical link: https://commits.webkit.org/284319@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list