| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Utility class to build the Skia master BuildFactory's for HouseKeeping bots. | 5 """Utility class to build the Skia master BuildFactory's for HouseKeeping bots. |
| 6 | 6 |
| 7 Overrides SkiaFactory with Per-commit HouseKeeping steps.""" | 7 Overrides SkiaFactory with Per-commit HouseKeeping steps.""" |
| 8 | 8 |
| 9 | 9 |
| 10 import builder_name_schema | 10 import builder_name_schema |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 builder_name_schema.BUILDER_ROLE_HOUSEKEEPER) | 33 builder_name_schema.BUILDER_ROLE_HOUSEKEEPER) |
| 34 | 34 |
| 35 self.UpdateSteps() | 35 self.UpdateSteps() |
| 36 self.Compile(clobber) | 36 self.Compile(clobber) |
| 37 | 37 |
| 38 # TODO(borenet): Move these to a self-tests bot (http://skbug.com/2144) | 38 # TODO(borenet): Move these to a self-tests bot (http://skbug.com/2144) |
| 39 self.AddSlaveScript(script='run_tool_self_tests.py', | 39 self.AddSlaveScript(script='run_tool_self_tests.py', |
| 40 description='RunToolSelfTests') | 40 description='RunToolSelfTests') |
| 41 self.AddSlaveScript(script='run_gm_self_tests.py', | 41 self.AddSlaveScript(script='run_gm_self_tests.py', |
| 42 description='RunGmSelfTests') | 42 description='RunGmSelfTests') |
| 43 self.RunDM() | |
| 44 | 43 |
| 45 # Run unittests for Anroid platform_tools | 44 # Run unittests for Anroid platform_tools |
| 46 self.AddSlaveScript(script='run_android_platform_self_tests.py', | 45 self.AddSlaveScript(script='run_android_platform_self_tests.py', |
| 47 description='RunAndroidPlatformSelfTests') | 46 description='RunAndroidPlatformSelfTests') |
| 48 | 47 |
| 49 # Check for static initializers. | 48 # Check for static initializers. |
| 50 self.AddSlaveScript(script='detect_static_initializers.py', | 49 self.AddSlaveScript(script='detect_static_initializers.py', |
| 51 description='DetectStaticInitializers') | 50 description='DetectStaticInitializers') |
| 52 | 51 |
| 53 if not self._do_patch_step: # Do not run Doxygen steps if try job. | 52 if not self._do_patch_step: # Do not run Doxygen steps if try job. |
| 54 self.AddSlaveScript(script='generate_doxygen.py', | 53 self.AddSlaveScript(script='generate_doxygen.py', |
| 55 description='GenerateDoxygen') | 54 description='GenerateDoxygen') |
| 56 self.AddSlaveScript(script='upload_doxygen.py', | 55 self.AddSlaveScript(script='upload_doxygen.py', |
| 57 description='UploadDoxygen', | 56 description='UploadDoxygen', |
| 58 is_upload_render_step=True) | 57 is_upload_render_step=True) |
| 59 | 58 |
| 60 self.AddSlaveScript(script='run_buildbot_self_tests.py', | 59 self.AddSlaveScript(script='run_buildbot_self_tests.py', |
| 61 description='BuildbotSelfTests') | 60 description='BuildbotSelfTests') |
| 62 self.AddSlaveScript(script='check_compile_times.py', | 61 self.AddSlaveScript(script='check_compile_times.py', |
| 63 description='CheckCompileTimes') | 62 description='CheckCompileTimes') |
| 64 self.Validate() | 63 self.Validate() |
| 65 return self | 64 return self |
| OLD | NEW |