[webkit-changes] [WebKit/WebKit] f28363: Add option to generate new index using updated une...
Brianna Fan
noreply at github.com
Thu Nov 7 17:02:59 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f283632e7ab8857dd6bd8f70d3f64889588756c2
https://github.com/WebKit/WebKit/commit/f283632e7ab8857dd6bd8f70d3f64889588756c2
Author: Brianna Fan <bfan2 at apple.com>
Date: 2024-11-07 (Thu, 07 Nov 2024)
Changed paths:
M Tools/Scripts/compare-static-analysis-results
Log Message:
-----------
Add option to generate new index using updated unexpected results in compare-static-analysis-results
https://bugs.webkit.org/show_bug.cgi?id=282713
rdar://139383076
Reviewed by Ryosuke Niwa.
Add --generate-results-only option. This will be used in Safer-CPP-Checks after comparing the unexpected
results to results database. If there are changes in the results, then we need to generate a new results index,
without performing another comparison.
Usage: compare-static-analysis-results [new-dir] --build-output [scan-build-output] --scan-build-path [scan-build] --generate-results-only
* Tools/Scripts/compare-static-analysis-results:
(parser): Add generate-results-only option.
(compare_results): Separate out comparison logic from main.
(generate_results_only): Read from unexpected_results.json and issues_per_file.json to get paths to the unexpected result files.
Pass those files into the pre-existing create_filtered_results_dir function to generate an index with new results.
(main): Clean up main.
Canonical link: https://commits.webkit.org/286309@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