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

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

Issue 1129173006: Enable slimming paint by default (for trybots only) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fri Jun 19 16:39:28 PDT 2015 Created 5 years, 6 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 | « Tools/Scripts/webkitpy/layout_tests/lint_test_expectations.py ('k') | sp/gen-auto-rebaseline » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py b/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
index 16ab6bb624147fe909243c6246e8d130925b049a..586c370515e96be0c71e14dcb6a1ed0a3c94f756 100644
--- a/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
+++ b/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
@@ -47,6 +47,11 @@ _log = logging.getLogger(__name__)
def main(argv, stdout, stderr):
+ argv += [
+ '--exit-after-n-crashes-or-timeouts=1000',
+ '--additional-driver-flag=--enable-slimming-paint',
+ ]
+
options, args = parse_args(argv)
if options.platform and 'test' in options.platform and not 'browser_test' in options.platform:
@@ -60,6 +65,12 @@ def main(argv, stdout, stderr):
try:
port = host.port_factory.get(options.platform, options)
+ # Search for virtual/slimmingpaint test expectations at first.
+ for baseline_path in port.default_baseline_search_path() + [port.layout_tests_dir()]:
+ options.additional_platform_directory.append(host.filesystem.join(baseline_path, 'virtual', 'slimmingpaint'))
+ _log.info('Baseline search path: ' + str(port.baseline_search_path()))
+
+ options.additional_expectations.append(host.filesystem.join(port.layout_tests_dir(), 'SlimmingPaintExpectations'))
except NotImplementedError, e:
# FIXME: is this the best way to handle unsupported port names?
print >> stderr, str(e)
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/lint_test_expectations.py ('k') | sp/gen-auto-rebaseline » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698