[webkit-changes] [WebKit/WebKit] 905209: [run-webkit-tests] Fix unit tests with a different...

Jonathan Bedard noreply at github.com
Mon Jan 22 07:40:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9052093b92b3f5db5d1a124acb40f7659de85445
      https://github.com/WebKit/WebKit/commit/9052093b92b3f5db5d1a124acb40f7659de85445
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M Tools/Scripts/libraries/webkitcorepy/webkitcorepy/mocks/subprocess.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/hooks/prepare-commit-msg
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/publish_unittest.py

  Log Message:
  -----------
  [run-webkit-tests] Fix unit tests with a different git path
https://bugs.webkit.org/show_bug.cgi?id=267794
rdar://121288444

Reviewed by Dewei Zhu.

* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/mocks/subprocess.py:
(Subprocess.CommandRoute.matches): Allow commands to match without the exact path.
(Subprocess.completion_generator_for): Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/hooks/prepare-commit-msg:
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/publish_unittest.py:
(TestPublish.test_git): Use production 'git' path.

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




More information about the webkit-changes mailing list