[webkit-changes] [WebKit/WebKit] dbbdbf: [build-webkit-org] Add steps for running smart poi...

Brianna Fan noreply at github.com
Thu May 16 16:55:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dbbdbf11bdfce598329b5e0eca20741176550092
      https://github.com/WebKit/WebKit/commit/dbbdbf11bdfce598329b5e0eca20741176550092
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M Tools/CISupport/build-webkit-org/factories.py
    M Tools/CISupport/build-webkit-org/steps.py
    M Tools/CISupport/build-webkit-org/steps_unittest.py

  Log Message:
  -----------
  [build-webkit-org] Add steps for running smart pointer static analysis in Buildbot
https://bugs.webkit.org/show_bug.cgi?id=272998
rdar://problem/126761949

Reviewed by Jonathan Bedard and Aakash Jain.

Add new steps that run static analysis with the --smart-pointer-only flag and organize the results for human consumption.

* Tools/CISupport/build-webkit-org/steps.py:
(ArchiveStaticAnalyzerResults): Changes output and dest paths.
(UploadStaticAnalyzerResults): Changes source path.
(ScanBuildSmartPointer): Runs build-and-analyze with --only-smart-pointers enabled.
(ParseStaticAnalyzerResults): Runs generate-dirty-files.py to get current lists of dirty files and UUIDs of bugs.
(CompareStaticAnalyzerResults): Runs compare-static-analysis-results.py to compare current and previous dirty files.
(UpdateSmartPointerBaseline): Updates baseline to current run's results.
(TransferToS3.doStepIf):
(ExtractTestResults):
(ExtractTestResults.resultDownloadURL): Add URL for downloading results.
(ExtractStaticAnalyzerTestResults): Modify paths for scan-build results.
(ExtractStaticAnalyzerTestResults.getLastBuildStepByName):
(ExtractStaticAnalyzerTestResults.addCustomURLs):

* Tools/CISupport/build-webkit-org/steps_unittest.py:
(TestScanBuildSmartPointer): Added.
(TestParseStaticAnalyzerResults): Added.
(TestCompareStaticAnalyzerResults): Added.
(TestUpdateSmartPointerBaseline): Added.

Canonical link: https://commits.webkit.org/278895@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