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

Side by Side Diff: Tools/Scripts/webkitpy/layout_tests/port/base.py

Issue 1177763005: [SP] Add flag to explicitly disable slimming paint by default when running layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix unit test. 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 unified diff | Download patch
« no previous file with comments | « no previous file | Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 self._test_configuration = None 216 self._test_configuration = None
217 self._reftest_list = {} 217 self._reftest_list = {}
218 self._results_directory = None 218 self._results_directory = None
219 self._virtual_test_suites = None 219 self._virtual_test_suites = None
220 220
221 def buildbot_archives_baselines(self): 221 def buildbot_archives_baselines(self):
222 return True 222 return True
223 223
224 def additional_driver_flag(self): 224 def additional_driver_flag(self):
225 if self.driver_name() == self.CONTENT_SHELL_NAME: 225 if self.driver_name() == self.CONTENT_SHELL_NAME:
226 return ['--run-layout-test'] 226 return ['--run-layout-test', '--disable-slimming-paint']
227 return [] 227 return []
228 228
229 def supports_per_test_timeout(self): 229 def supports_per_test_timeout(self):
230 return False 230 return False
231 231
232 def default_pixel_tests(self): 232 def default_pixel_tests(self):
233 return True 233 return True
234 234
235 def default_smoke_test_only(self): 235 def default_smoke_test_only(self):
236 return False 236 return False
(...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after
1763 class PhysicalTestSuite(object): 1763 class PhysicalTestSuite(object):
1764 def __init__(self, base, args, reference_args=None): 1764 def __init__(self, base, args, reference_args=None):
1765 self.name = base 1765 self.name = base
1766 self.base = base 1766 self.base = base
1767 self.args = args 1767 self.args = args
1768 self.reference_args = args if reference_args is None else reference_args 1768 self.reference_args = args if reference_args is None else reference_args
1769 self.tests = set() 1769 self.tests = set()
1770 1770
1771 def __repr__(self): 1771 def __repr__(self):
1772 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base, self.args, self.reference_args) 1772 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base, self.args, self.reference_args)
OLDNEW
« no previous file with comments | « no previous file | Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698