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

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

Issue 2772373003: Initialize run_webkit_tests's image-first-tests flag from file (Closed)
Patch Set: 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/run_webkit_tests.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
index f999f5c9c19125cc61b0e1f10492326fa28b2d1f..4f3166961d2bcabd66fd4a42bab9e8ad8f73c2c9 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
@@ -555,6 +555,10 @@ def _set_up_derived_options(port, options, args):
if not options.seed:
options.seed = port.host.time()
+ if not options.image_first_tests:
+ image_first_tests_path = port.host.filesystem.join(port.layout_tests_dir(), 'ImageFirstTests')
+ options.image_first_tests.extend(line for line in open(image_first_tests_path).read().strip().split('\n') if line)
qyearsley 2017/03/30 17:26:12 In general, most of the code in webkitpy interacts
Gleb Lanbin 2017/03/30 23:45:39 Done.
+
def _run_tests(port, options, args, printer):
_set_up_derived_options(port, options, args)
« third_party/WebKit/LayoutTests/OWNERS ('K') | « third_party/WebKit/LayoutTests/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698