Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py

Issue 2759263002: Add image-first-tests flag to run-webkit-tests (Closed)
Patch Set: Only run compare_txt_fn if !is_testharness_test Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
index f6ee2901a55ccc73382ab43e6781e17997802f47..503421ba1140a3f9f293e8168871b88e82144e46 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
@@ -1569,6 +1569,10 @@ class Port(object):
return False
return True
+ def should_run_pixel_test_first(self, test_input):
+ return any(test_input.test_name.startswith(
+ directory) for directory in self._options.image_first_tests)
+
def _convert_path(self, path):
"""Handles filename conversion for subprocess command line args."""
# See note above in diff_image() for why we need this.

Powered by Google App Engine
This is Rietveld 408576698