Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7df0ea213a3fa40674ca325726f5ba089d44f7e8
      
https://github.com/WebKit/WebKit/commit/7df0ea213a3fa40674ca325726f5ba089d44f7e8
  Author: Sam Sneddon <gsnedd...@apple.com>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

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

  Log Message:
  -----------
  Use a mock git for most of SummarizedResultsTest
https://bugs.webkit.org/show_bug.cgi?id=268510

Reviewed by Jonathan Bedard.

None of these tests actually are looking at the output from git
whatsoever, and with many remotes and branches actually querying git can
be slow, so just use a mock git object instead.

Lastly, mark the one test that still uses real git as slow.

* Tools/Scripts/webkitpy/layout_tests/models/test_run_results_unittest.py:
(SummarizedResultsTest.test_no_git_revision):
(SummarizedResultsTest.test_summarized_results_wontfix):
(SummarizedResultsTest.test_summarized_results_include_passes):
(SummarizedResultsTest.test_summarized_results_world_leaks_disabled):
(SummarizedResultsTest.test_summarized_run_metadata):
(SummarizedResultsTest.test_git_revision_exists): Deleted.

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to