| OLD | NEW |
| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 self._test_configuration = None | 220 self._test_configuration = None |
| 221 self._reftest_list = {} | 221 self._reftest_list = {} |
| 222 self._results_directory = None | 222 self._results_directory = None |
| 223 self._virtual_test_suites = None | 223 self._virtual_test_suites = None |
| 224 | 224 |
| 225 def buildbot_archives_baselines(self): | 225 def buildbot_archives_baselines(self): |
| 226 return True | 226 return True |
| 227 | 227 |
| 228 def additional_driver_flag(self): | 228 def additional_driver_flag(self): |
| 229 if self.driver_name() == self.CONTENT_SHELL_NAME: | 229 if self.driver_name() == self.CONTENT_SHELL_NAME: |
| 230 # TODO(wangxianzhu): Remove --enable-slimming-paint when we enable | 230 return ['--run-layout-test'] |
| 231 # it by default. | |
| 232 return ['--run-layout-test', '--enable-slimming-paint'] | |
| 233 return [] | 231 return [] |
| 234 | 232 |
| 235 def supports_per_test_timeout(self): | 233 def supports_per_test_timeout(self): |
| 236 return False | 234 return False |
| 237 | 235 |
| 238 def default_pixel_tests(self): | 236 def default_pixel_tests(self): |
| 239 return True | 237 return True |
| 240 | 238 |
| 241 def default_smoke_test_only(self): | 239 def default_smoke_test_only(self): |
| 242 return False | 240 return False |
| (...skipping 1551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1794 class PhysicalTestSuite(object): | 1792 class PhysicalTestSuite(object): |
| 1795 def __init__(self, base, args, reference_args=None): | 1793 def __init__(self, base, args, reference_args=None): |
| 1796 self.name = base | 1794 self.name = base |
| 1797 self.base = base | 1795 self.base = base |
| 1798 self.args = args | 1796 self.args = args |
| 1799 self.reference_args = args if reference_args is None else reference_args | 1797 self.reference_args = args if reference_args is None else reference_args |
| 1800 self.tests = set() | 1798 self.tests = set() |
| 1801 | 1799 |
| 1802 def __repr__(self): | 1800 def __repr__(self): |
| 1803 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) | 1801 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base,
self.args, self.reference_args) |
| OLD | NEW |