| 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)
|
|
|