Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_perf.py

Issue 2485383007: Make perf android tests use devil adb (Closed)
Patch Set: Nit Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 }, 42 },
43 'gclient_config': config_name, 43 'gclient_config': config_name,
44 'testing': { 44 'testing': {
45 'platform': 'linux' if platform == 'android' else platform, 45 'platform': 'linux' if platform == 'android' else platform,
46 }, 46 },
47 'tests': tests, 47 'tests': tests,
48 } 48 }
49 49
50 if platform == 'android': 50 if platform == 'android':
51 spec['android_config'] = 'chromium_perf' 51 spec['android_config'] = 'chromium_perf'
52 spec['android_apply_config'] = ['use_devil_adb']
52 spec['chromium_apply_config'] = ['android'] 53 spec['chromium_apply_config'] = ['android']
53 spec['chromium_config_kwargs']['TARGET_ARCH'] = 'arm' 54 spec['chromium_config_kwargs']['TARGET_ARCH'] = 'arm'
54 spec['chromium_config_kwargs']['TARGET_PLATFORM'] = 'android' 55 spec['chromium_config_kwargs']['TARGET_PLATFORM'] = 'android'
55 spec['gclient_apply_config'] = ['android'] 56 spec['gclient_apply_config'] = ['android']
56 57
57 return spec 58 return spec
58 59
59 60
60 def BuildSpec( 61 def BuildSpec(
61 config_name, perf_id, platform, target_bits, enable_swarming=False, 62 config_name, perf_id, platform, target_bits, enable_swarming=False,
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac', 202 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac',
202 num_host_shards=5) 203 num_host_shards=5)
203 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac', 204 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac',
204 num_host_shards=5) 205 num_host_shards=5)
205 _AddIsolatedTestSpec('Mac Pro 10.11 Perf', 'chromium-rel-mac11-pro', 'mac') 206 _AddIsolatedTestSpec('Mac Pro 10.11 Perf', 'chromium-rel-mac11-pro', 'mac')
206 _AddIsolatedTestSpec('Mac Air 10.11 Perf', 'chromium-rel-mac11-air', 'mac') 207 _AddIsolatedTestSpec('Mac Air 10.11 Perf', 'chromium-rel-mac11-air', 'mac')
207 208
208 209
209 _AddTestSpec('Linux Perf', 'linux-release', 'linux', 210 _AddTestSpec('Linux Perf', 'linux-release', 'linux',
210 num_host_shards=5) 211 num_host_shards=5)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698