[webkit-changes] [WebKit/WebKit] cd8332: wpt_config_json should read from original config.json

Sam Sneddon noreply at github.com
Wed Mar 8 15:37:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd833210c0e7e1a3d3beac9e8d70cf02d13ee067
      https://github.com/WebKit/WebKit/commit/cd833210c0e7e1a3d3beac9e8d70cf02d13ee067
  Author: Sam Sneddon <gsnedders at apple.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M Tools/Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py

  Log Message:
  -----------
  wpt_config_json should read from original config.json
https://bugs.webkit.org/show_bug.cgi?id=253602
rdar://106437906

Reviewed by Ben Nham.

This avoids any risk of a stale, copied config.json being read, as
might happen if a prior run-webkit-tests run exited uncleanly.

* Tools/Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
(wpt_config_json): This function now reads from the original, non-copied file and does the mutation.
(WebPlatformTestServer._prepare_config): Make this merely call wpt_config_json and write it to the new location.

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




More information about the webkit-changes mailing list