| Index: scripts/slave/recipe_modules/chromium_tests/chromium_perf.py
|
| diff --git a/scripts/slave/recipe_modules/chromium_tests/chromium_perf.py b/scripts/slave/recipe_modules/chromium_tests/chromium_perf.py
|
| index bf4a44c2362c95f7b88d252a6c8a74438b05b014..7a026ca57b21e9bf42f092683b06bd81c1c6d3c0 100644
|
| --- a/scripts/slave/recipe_modules/chromium_tests/chromium_perf.py
|
| +++ b/scripts/slave/recipe_modules/chromium_tests/chromium_perf.py
|
| @@ -37,12 +37,7 @@ def _BaseSpec(bot_type, chromium_apply_config, disable_tests,
|
| }
|
|
|
|
|
| -def _BuildSpec(platform, target_bits):
|
| - if target_bits == 64:
|
| - perf_id = platform
|
| - else:
|
| - perf_id = '%s-%d' % (platform, target_bits)
|
| -
|
| +def BuildSpec(perf_id, platform, target_bits):
|
| if platform == 'android':
|
| tests = []
|
| else:
|
| @@ -99,7 +94,12 @@ def _TestSpec(parent_builder, perf_id, platform, target_bits, max_battery_temp,
|
|
|
|
|
| def _AddBuildSpec(name, platform, target_bits=64):
|
| - SPEC['builders'][name] = _BuildSpec(platform, target_bits)
|
| + if target_bits == 64:
|
| + perf_id = platform
|
| + else:
|
| + perf_id = '%s-%d' % (platform, target_bits)
|
| +
|
| + SPEC['builders'][name] = BuildSpec(perf_id, platform, target_bits)
|
| assert target_bits not in _builders[platform]
|
| _builders[platform][target_bits] = name
|
|
|
|
|