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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.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
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d4f23c97edff3740910097040dc7ee8b82df47fb..f999f5c9c19125cc61b0e1f10492326fa28b2d1f 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
@@ -235,6 +235,15 @@ def parse_args(args):
dest='smoke',
action='store_false',
help='Do not run just the SmokeTests'),
+ optparse.make_option(
+ '--image-first-tests',
+ action='append',
+ default=[],
+ dest='image_first_tests',
+ help=('A directory (or test) where the test result will only be compared with the '
+ 'image baseline if an image baseline is available, and fall back to comparison '
+ 'with the text baseline when image baselines are missing. Specify multiple times '
+ 'to add multiple directories/tests.')),
]))
option_group_definitions.append(
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698