Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a7f7f6777890036cdec949a9586ec0cdc5aeb55
      
https://github.com/WebKit/WebKit/commit/6a7f7f6777890036cdec949a9586ec0cdc5aeb55
  Author: Ryosuke Niwa <[email protected]>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    A Tools/Scripts/create-csv-from-safer-cpp-expectations
    A Tools/Scripts/webkitpy/safer_cpp/__init__.py
    A Tools/Scripts/webkitpy/safer_cpp/checkers.py

  Log Message:
  -----------
  Add a tool to create a CSV file from safer C++ expectations
https://bugs.webkit.org/show_bug.cgi?id=293250

Reviewed by Brianna Fan.

Add a new script to create a CSV file by aggregating safer C++ expectation 
files.

This PR also adds webkitpy.safer_cpp.checkers to share more code across safer 
C++ scripts.

* Tools/Scripts/create-csv-from-safer-cpp-expectations: Added.
(parser): Added. Constructs argparser.
(load_expectations): Added. Loads a single expectation file.
(main): Added.
* Tools/Scripts/webkitpy/safer_cpp/__init__.py: Added.
* Tools/Scripts/webkitpy/safer_cpp/checkers.py: Added.
(Checker): Added.
(Checker.__init__): Added.
(Checker.name): Added.
(Checker.description): Added.
(Checker.expectations_path): Added. Returns the path to given project's 
expectation file.
(Checker.enumerate): Added. Lists all the checkers in the order.
(Checker.projects): Added. Lists all the WebKit projects with expectation files.
(CHECKERS): Added.

Canonical link: https://commits.webkit.org/295132@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to