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

Side by Side Diff: scripts/slave/recipes/android/perf.py

Issue 2131993003: android: use common known_devices_file path from chromium_android (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 5 months 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 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 from recipe_engine.types import freeze 5 from recipe_engine.types import freeze
6 6
7 7
8 DEPS = [ 8 DEPS = [
9 'adb', 9 'adb',
10 'chromium', 10 'chromium',
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 test_runner() 169 test_runner()
170 except api.step.StepFailure as f: 170 except api.step.StepFailure as f:
171 failures.append(f) 171 failures.append(f)
172 172
173 dynamic_perf_tests = api.chromium_tests.steps.DynamicPerfTests( 173 dynamic_perf_tests = api.chromium_tests.steps.DynamicPerfTests(
174 builder['perf_id'], 'android', None, 174 builder['perf_id'], 'android', None,
175 max_battery_temp=builder.get('max_battery_temp'), 175 max_battery_temp=builder.get('max_battery_temp'),
176 num_device_shards=builder['num_device_shards'], 176 num_device_shards=builder['num_device_shards'],
177 num_host_shards=builder.get('num_host_shards', 1), 177 num_host_shards=builder.get('num_host_shards', 1),
178 shard_index=builder.get('shard_index', 0), 178 shard_index=builder.get('shard_index', 0),
179 known_devices_file=builder.get('known_devices_file', None),
180 override_browser_name=builder.get('browser_name')) 179 override_browser_name=builder.get('browser_name'))
181 dynamic_perf_tests.run(api, None) 180 dynamic_perf_tests.run(api, None)
182 181
183 if failures: 182 if failures:
184 raise api.step.StepFailure('src-side perf tests failed %s' % failures) 183 raise api.step.StepFailure('src-side perf tests failed %s' % failures)
185 finally: 184 finally:
186 api.chromium_android.common_tests_final_steps( 185 api.chromium_android.common_tests_final_steps(
187 logcat_gs_bucket='chromium-android') 186 logcat_gs_bucket='chromium-android')
188 187
189 188
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 mastername='chromium.perf', 278 mastername='chromium.perf',
280 buildername='Android Nexus5 Perf (1)', 279 buildername='Android Nexus5 Perf (1)',
281 parent_buildername='parent_buildername', 280 parent_buildername='parent_buildername',
282 parent_buildnumber='1729', 281 parent_buildnumber='1729',
283 parent_revision='deadbeef', 282 parent_revision='deadbeef',
284 revision='deadbeef', 283 revision='deadbeef',
285 slavename='slavename', 284 slavename='slavename',
286 target='Release') + 285 target='Release') +
287 api.override_step_data( 286 api.override_step_data(
288 'perf_test.foo', retcode=87)) 287 'perf_test.foo', retcode=87))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698