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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.py

Issue 2439213002: Add step to process Render Test results. (Closed)
Patch Set: Rebase Created 3 years, 11 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 DEPS = [ 7 DEPS = [
8 'adb', 8 'adb',
9 'chromium', 9 'chromium',
10 'chromium_android', 10 'chromium_android',
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 'perf_config': 'sharded_perf_tests.json', 83 'perf_config': 'sharded_perf_tests.json',
84 'last_known_devices': '.last_devices', 84 'last_known_devices': '.last_devices',
85 }, 85 },
86 'device_flags_builder': { 86 'device_flags_builder': {
87 'device_flags': 'device_flags_file', 87 'device_flags': 'device_flags_file',
88 }, 88 },
89 'no_cache_builder': { 89 'no_cache_builder': {
90 'use_git_cache': False, 90 'use_git_cache': False,
91 }, 91 },
92 'json_results_file': { 92 'json_results_file': {
93 'json_results_file': 'json_results_file' 93 'json_results_file': 'json_results_file',
94 },
95 'render_results': {
96 'render_results_dir': 'chrome/test/data/android/render_tests',
94 }, 97 },
95 'result_details': { 98 'result_details': {
96 'result_details': True, 99 'result_details': True,
97 'cs_base_url': 'cs_base_url', 100 'cs_base_url': 'cs_base_url',
98 'store_tombstones': True, 101 'store_tombstones': True,
99 }, 102 },
100 'enable_platform_mode': { 103 'enable_platform_mode': {
101 'perf_config': 'sharded_perf_tests.json', 104 'perf_config': 'sharded_perf_tests.json',
102 'enable_platform_mode': True, 105 'enable_platform_mode': True,
103 'write_buildbot_json': True, 106 'write_buildbot_json': True,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 except_annotation='FlakyTest', 219 except_annotation='FlakyTest',
217 screenshot=True, 220 screenshot=True,
218 official_build=True, 221 official_build=True,
219 timeout_scale=config.get('timeout_scale'), 222 timeout_scale=config.get('timeout_scale'),
220 strict_mode=config.get('strict_mode'), 223 strict_mode=config.get('strict_mode'),
221 additional_apks=['Additional.apk'], 224 additional_apks=['Additional.apk'],
222 device_flags=config.get('device_flags'), 225 device_flags=config.get('device_flags'),
223 json_results_file=config.get('json_results_file'), 226 json_results_file=config.get('json_results_file'),
224 result_details=config.get('result_details'), 227 result_details=config.get('result_details'),
225 cs_base_url=config.get('cs_base_url'), 228 cs_base_url=config.get('cs_base_url'),
226 store_tombstones=config.get('store_tombstones')) 229 store_tombstones=config.get('store_tombstones'),
230 render_results_dir=config.get('render_results_dir'))
227 api.chromium_android.run_test_suite( 231 api.chromium_android.run_test_suite(
228 'unittests', 232 'unittests',
229 gtest_filter='WebRtc*', 233 gtest_filter='WebRtc*',
230 result_details=config.get('result_details'), 234 result_details=config.get('result_details'),
231 store_tombstones=config.get('store_tombstones'), 235 store_tombstones=config.get('store_tombstones'),
232 tool='asan') 236 tool='asan')
233 if not failure: 237 if not failure:
234 api.chromium_android.run_bisect_script(extra_src='test.py', 238 api.chromium_android.run_bisect_script(extra_src='test.py',
235 path_to_config='test.py') 239 path_to_config='test.py')
236 240
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 properties_for('tester') + 349 properties_for('tester') +
346 api.override_step_data('get version (2)', 350 api.override_step_data('get version (2)',
347 api.raw_io.output('MAJOR=53\nMINOR=0\nBUILD=2800\nPATCH=0\n'))) 351 api.raw_io.output('MAJOR=53\nMINOR=0\nBUILD=2800\nPATCH=0\n')))
348 352
349 yield (api.test('telemetry_browser_tests_failures') + 353 yield (api.test('telemetry_browser_tests_failures') +
350 properties_for('telemetry_browser_tests_tester') + 354 properties_for('telemetry_browser_tests_tester') +
351 api.override_step_data('Run telemetry browser_test PopularUrlsTest', 355 api.override_step_data('Run telemetry browser_test PopularUrlsTest',
352 api.json.output({'successes': ['passed_test1', 'passed_test2'], 356 api.json.output({'successes': ['passed_test1', 'passed_test2'],
353 'failures': ['failed_test_1', 'failed_test_2']}), 357 'failures': ['failed_test_1', 'failed_test_2']}),
354 retcode=1)) 358 retcode=1))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698