Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 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 # Sets up all the builders we want the FYI buildbot master to run. | 5 # Sets up all the builders we want the FYI buildbot master to run. |
| 6 | 6 |
| 7 | 7 |
| 8 #pylint: disable=C0301 | 8 #pylint: disable=C0301 |
| 9 | 9 |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 Moz2DCanaryFactory as f_moz2d | 24 Moz2DCanaryFactory as f_moz2d |
| 25 from skia_master_scripts.recreate_skps_factory import \ | 25 from skia_master_scripts.recreate_skps_factory import \ |
| 26 RecreateSKPsFactory as f_skps | 26 RecreateSKPsFactory as f_skps |
| 27 from skia_master_scripts.xsan_factory import XsanFactory as f_xsan | 27 from skia_master_scripts.xsan_factory import XsanFactory as f_xsan |
| 28 | 28 |
| 29 import master_builders_cfg | 29 import master_builders_cfg |
| 30 | 30 |
| 31 | 31 |
| 32 # GYP_DEFINES. | 32 # GYP_DEFINES. |
| 33 MOZ2D = repr({'skia_moz2d': '1'}) | 33 MOZ2D = repr({'skia_moz2d': '1'}) |
| 34 NO_GPU = repr({'skia_gpu': '0'}) | |
|
borenet
2014/06/04 19:17:12
I'd import this from master_builders_cfg rather th
mtklein
2014/06/04 19:36:01
Done.
| |
| 34 | 35 |
| 35 | 36 |
| 36 def setup_canaries(helper, do_upload_render_results, do_upload_bench_results): | 37 def setup_canaries(helper, do_upload_render_results, do_upload_bench_results): |
| 37 """Set up the Canary builders. | 38 """Set up the Canary builders. |
| 38 | 39 |
| 39 Args: | 40 Args: |
| 40 helper: instance of utils.SkiaHelper | 41 helper: instance of utils.SkiaHelper |
| 41 do_upload_render_results: bool; whether the builders should upload their | 42 do_upload_render_results: bool; whether the builders should upload their |
| 42 render results. | 43 render results. |
| 43 do_upload_bench_results: bool; whether the builders should upload their | 44 do_upload_bench_results: bool; whether the builders should upload their |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 70 render results. | 71 render results. |
| 71 do_upload_bench_results: bool; whether the builders should upload their | 72 do_upload_bench_results: bool; whether the builders should upload their |
| 72 bench results. | 73 bench results. |
| 73 """ | 74 """ |
| 74 # | 75 # |
| 75 # TEST AND PERF BUILDERS | 76 # TEST AND PERF BUILDERS |
| 76 # | 77 # |
| 77 # Role, OS, Model, GPU, Arch, Config, Extra C onfig,GYP_DEFS,Factory, Target, Scheduler, Extra Args | 78 # Role, OS, Model, GPU, Arch, Config, Extra C onfig,GYP_DEFS,Factory, Target, Scheduler, Extra Args |
| 78 # | 79 # |
| 79 builder_specs = [ | 80 builder_specs = [ |
| 80 ('Test', 'Ubuntu13', 'ShuttleA', 'HD2000', 'x86_64', 'Debug', 'TSAN', None, f_xsan, LINUX, S_PERCOMMIT, {'sanitizer': 'thread'}), | 81 ('Test', 'Ubuntu13.10', 'GCE', 'NoGPU', 'x86_64', 'Release', 'TSAN', NO_GPU, f_xsan, LINUX, S_PERCOMMIT, {'sanitizer': 'thread'}), |
| 81 ('Test', 'Linux', 'Bare', 'NoGPU', 'Arm8_64', 'Debug', None, None, f_a64mod, LINUX, S_PERCOMMIT, {'board': 'arm64emu', 'bench_pictu res_cfg': 'no_gpu', 'default_timeout': 100000}), | 82 ('Test', 'Linux', 'Bare', 'NoGPU', 'Arm8_64', 'Debug', None, None, f_a64mod, LINUX, S_PERCOMMIT, {'board': 'arm64emu', 'bench_picture s_cfg': 'no_gpu', 'default_timeout': 100000}), |
| 82 ] | 83 ] |
| 83 | 84 |
| 84 master_builders_cfg.setup_builders_from_config_list( | 85 master_builders_cfg.setup_builders_from_config_list( |
| 85 builder_specs, | 86 builder_specs, |
| 86 helper, | 87 helper, |
| 87 do_upload_render_results, | 88 do_upload_render_results, |
| 88 do_upload_bench_results, | 89 do_upload_bench_results, |
| 89 master_builders_cfg.Builder) | 90 master_builders_cfg.Builder) |
| 90 | 91 |
| 91 | 92 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 129 render results. | 130 render results. |
| 130 do_upload_bench_results: bool; whether the builders should upload their | 131 do_upload_bench_results: bool; whether the builders should upload their |
| 131 bench results. | 132 bench results. |
| 132 """ | 133 """ |
| 133 setup_test_and_perf_builders(helper, do_upload_render_results, | 134 setup_test_and_perf_builders(helper, do_upload_render_results, |
| 134 do_upload_bench_results) | 135 do_upload_bench_results) |
| 135 setup_canaries(helper, do_upload_render_results, do_upload_bench_results) | 136 setup_canaries(helper, do_upload_render_results, do_upload_bench_results) |
| 136 setup_housekeepers(helper=helper, | 137 setup_housekeepers(helper=helper, |
| 137 do_upload_render_results=do_upload_render_results, | 138 do_upload_render_results=do_upload_render_results, |
| 138 do_upload_bench_results=do_upload_bench_results) | 139 do_upload_bench_results=do_upload_bench_results) |
| OLD | NEW |