[webkit-changes] [WebKit/WebKit] e07cfd: [run-webkit-tests] Unprefix paths in shards

Jonathan Bedard noreply at github.com
Wed Nov 9 17:56:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e07cfdd0e0cb861502c369c37f8c1012a1bc265f
      https://github.com/WebKit/WebKit/commit/e07cfdd0e0cb861502c369c37f8c1012a1bc265f
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py

  Log Message:
  -----------
  [run-webkit-tests] Unprefix paths in shards
https://bugs.webkit.org/show_bug.cgi?id=247575
rdar://102045852

Reviewed by Elliott Williams.

* Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
(TestShard.__init__): Make class memeber a packed list of TestInput object.
(TestShard.shorten): Shorten a string based on the shard name.
(TestShard.expand): Expand a string based on the shard name.
(TestShard.pack): Reconstruct a TestInput with mutated paths.
(TestShard.__getstate__): Pack TestShard for serialization.
(TestShard.__setstate__): Unpack TestShard from serialization.

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




More information about the webkit-changes mailing list