Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import collections | 5 import collections |
| 6 | 6 |
| 7 from . import steps | 7 from . import steps |
| 8 | 8 |
| 9 import DEPS | 9 import DEPS |
| 10 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX | 10 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 89 platform=platform, | 89 platform=platform, |
| 90 target_bits=target_bits, | 90 target_bits=target_bits, |
| 91 tests=tests or [], | 91 tests=tests or [], |
| 92 ) | 92 ) |
| 93 | 93 |
| 94 if not parent_buildername: | 94 if not parent_buildername: |
| 95 parent_buildername = builders[platform][target_bits] | 95 parent_buildername = builders[platform][target_bits] |
| 96 spec['parent_buildername'] = parent_buildername | 96 spec['parent_buildername'] = parent_buildername |
| 97 spec['perf-id'] = perf_id | 97 spec['perf-id'] = perf_id |
| 98 spec['results-url'] = 'https://chromeperf.appspot.com' | 98 spec['results-url'] = 'https://chromeperf.appspot.com' |
| 99 spec['test_generators'] = [steps.generate_script] | |
|
ghost stip (do not use)
2016/09/22 23:25:49
dtu: fyi, this shouldn't affect anything
| |
| 100 | 99 |
| 101 return spec | 100 return spec |
| 102 | 101 |
| 103 | 102 |
| 104 def _AddBuildSpec( | 103 def _AddBuildSpec( |
| 105 name, platform, target_bits=64, add_to_bisect=False, enable_swarming=False): | 104 name, platform, target_bits=64, add_to_bisect=False, enable_swarming=False): |
| 106 if target_bits == 64: | 105 if target_bits == 64: |
| 107 perf_id = platform | 106 perf_id = platform |
| 108 else: | 107 else: |
| 109 perf_id = '%s-%d' % (platform, target_bits) | 108 perf_id = '%s-%d' % (platform, target_bits) |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 177 _AddTestSpec('Mac 10.10 Perf', 'chromium-rel-mac10', 'mac', | 176 _AddTestSpec('Mac 10.10 Perf', 'chromium-rel-mac10', 'mac', |
| 178 num_host_shards=5) | 177 num_host_shards=5) |
| 179 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac', | 178 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac', |
| 180 num_host_shards=5) | 179 num_host_shards=5) |
| 181 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac', | 180 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac', |
| 182 num_host_shards=5) | 181 num_host_shards=5) |
| 183 | 182 |
| 184 | 183 |
| 185 _AddTestSpec('Linux Perf', 'linux-release', 'linux', | 184 _AddTestSpec('Linux Perf', 'linux-release', 'linux', |
| 186 num_host_shards=5) | 185 num_host_shards=5) |
| OLD | NEW |