[webkit-changes] [WebKit/WebKit] 647c89: [run-webkit-tests] Include test configuration in f...

Sam Sneddon noreply at github.com
Fri Dec 1 10:49:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 647c89210b17d2f0e009bf51737077879c19c769
      https://github.com/WebKit/WebKit/commit/647c89210b17d2f0e009bf51737077879c19c769
  Author: Sam Sneddon <gsnedders at apple.com>
  Date:   2023-12-01 (Fri, 01 Dec 2023)

  Changed paths:
    M Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
    M Tools/Scripts/webkitpy/layout_tests/models/test_run_results_unittest.py

  Log Message:
  -----------
  [run-webkit-tests] Include test configuration in full_results.json
https://bugs.webkit.org/show_bug.cgi?id=265491

Reviewed by Jonathan Bedard.

It's often useful to be able to determine what we were actually running
when looking at results, especially for scripts such as
update-test-expectations-from-bugzilla (which currently guessing the
port based on the bot name).

To acheieve this, add a small amount of metadata to full_results.json
about the run.

Pedantically, this doesn't suffice as we might run tests in a variety of
different configurations (e.g., we might run some on an iPhone and some
on an iPad), but this is relatively rare, and we don't believe this will
often cause problems.

* Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py:
(summarize_results):
* Tools/Scripts/webkitpy/layout_tests/models/test_run_results_unittest.py:
(SummarizedResultsTest.test_summarized_results_world_leaks_disabled):
(SummarizedResultsTest):
(SummarizedResultsTest.test_summarized_run_metadata):

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




More information about the webkit-changes mailing list