Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 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 import datetime | 5 import datetime |
| 6 import re | 6 import re |
| 7 import string | 7 import string |
| 8 | 8 |
| 9 | 9 |
| 10 class Test(object): | 10 class Test(object): |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 534 for script_spec in test_spec.get(buildername, {}).get('scripts', []): | 534 for script_spec in test_spec.get(buildername, {}).get('scripts', []): |
| 535 yield ScriptTest( | 535 yield ScriptTest( |
| 536 str(script_spec['name']), | 536 str(script_spec['name']), |
| 537 script_spec['script'], | 537 script_spec['script'], |
| 538 scripts_compile_targets, | 538 scripts_compile_targets, |
| 539 script_spec.get('args', []), | 539 script_spec.get('args', []), |
| 540 script_spec.get('override_compile_targets', [])) | 540 script_spec.get('override_compile_targets', [])) |
| 541 | 541 |
| 542 | 542 |
| 543 class DynamicPerfTests(Test): | 543 class DynamicPerfTests(Test): |
| 544 def __init__(self, perf_id, platform, target_bits, max_battery_temp=None, | 544 def __init__(self, perf_id, platform, target_bits, max_battery_temp=350, |
|
RobertoCN
2016/08/30 21:08:01
Magic number.
dtu
2016/08/31 08:36:34
Acknowledged. I don't have an explanation I can ad
| |
| 545 num_device_shards=1, num_host_shards=1, shard_index=0, | 545 num_device_shards=1, num_host_shards=1, shard_index=0, |
| 546 override_browser_name=None, enable_platform_mode=False): | 546 override_browser_name=None, enable_platform_mode=False): |
| 547 self._perf_id = perf_id | 547 self._perf_id = perf_id |
| 548 self._platform = platform | 548 self._platform = platform |
| 549 self._target_bits = target_bits | 549 self._target_bits = target_bits |
| 550 | 550 |
| 551 self._enable_platform_mode = enable_platform_mode | 551 self._enable_platform_mode = enable_platform_mode |
| 552 self._max_battery_temp = max_battery_temp | 552 self._max_battery_temp = max_battery_temp |
| 553 self._num_host_shards = num_host_shards | 553 self._num_host_shards = num_host_shards |
| 554 self._num_device_shards = num_device_shards | 554 self._num_device_shards = num_device_shards |
| (...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1744 args=args) | 1744 args=args) |
| 1745 api.gsutil.upload( | 1745 api.gsutil.upload( |
| 1746 temp_output_dir.join( | 1746 temp_output_dir.join( |
| 1747 '%s-android-chrome.json' % timestamp_string), | 1747 '%s-android-chrome.json' % timestamp_string), |
| 1748 'chromium-annotated-tests', 'android') | 1748 'chromium-annotated-tests', 'android') |
| 1749 | 1749 |
| 1750 GOMA_TESTS = [ | 1750 GOMA_TESTS = [ |
| 1751 GTestTest('base_unittests'), | 1751 GTestTest('base_unittests'), |
| 1752 GTestTest('content_unittests'), | 1752 GTestTest('content_unittests'), |
| 1753 ] | 1753 ] |
| OLD | NEW |