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

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

Issue 1869193003: Remove logcats from instrumentation test run steps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebase! Created 4 years, 8 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 | Annotate | Revision Log
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 isolate_file_path='android_webview/android_webview_test_apk.isolate', 183 isolate_file_path='android_webview/android_webview_test_apk.isolate',
184 flakiness_dashboard='test-results.appspot.com', 184 flakiness_dashboard='test-results.appspot.com',
185 annotation='SmallTest', 185 annotation='SmallTest',
186 except_annotation='FlakyTest', 186 except_annotation='FlakyTest',
187 screenshot=True, 187 screenshot=True,
188 official_build=True, 188 official_build=True,
189 host_driven_root=api.path['checkout'].join('chrome', 'test'), 189 host_driven_root=api.path['checkout'].join('chrome', 'test'),
190 timeout_scale=config.get('timeout_scale'), 190 timeout_scale=config.get('timeout_scale'),
191 strict_mode=config.get('strict_mode'), 191 strict_mode=config.get('strict_mode'),
192 additional_apks=['Additional.apk'], 192 additional_apks=['Additional.apk'],
193 step_test_data=lambda: api.raw_io.test_api.output(
194 'logging...\nbeep\nboop\bbop'),
195 device_flags=config.get('device_flags')) 193 device_flags=config.get('device_flags'))
196 api.chromium_android.run_test_suite( 194 api.chromium_android.run_test_suite(
197 'unittests', 195 'unittests',
198 isolate_file_path=api.path['checkout'].join('some_file.isolate'), 196 isolate_file_path=api.path['checkout'].join('some_file.isolate'),
199 gtest_filter='WebRtc*', 197 gtest_filter='WebRtc*',
200 tool='asan') 198 tool='asan')
201 if not failure: 199 if not failure:
202 api.chromium_android.run_bisect_script(extra_src='test.py', 200 api.chromium_android.run_bisect_script(extra_src='test.py',
203 path_to_config='test.py') 201 path_to_config='test.py')
204 202
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 'Created xml report file at file:///path/to/testResult.xml', 359 'Created xml report file at file:///path/to/testResult.xml',
362 stream='stdout')) + 360 stream='stdout')) +
363 api.override_step_data('Read test result and report failures', 361 api.override_step_data('Read test result and report failures',
364 api.raw_io.output(result_xml_with_unexpected_failure_method))) 362 api.raw_io.output(result_xml_with_unexpected_failure_method)))
365 363
366 yield (api.test('webview_cts_invalid_output') + 364 yield (api.test('webview_cts_invalid_output') +
367 properties_for('webview_cts') + 365 properties_for('webview_cts') +
368 api.override_step_data('Run CTS', api.raw_io.stream_output( 366 api.override_step_data('Run CTS', api.raw_io.stream_output(
369 'Invalid CTS output here...', 367 'Invalid CTS output here...',
370 stream='stdout'))) 368 stream='stdout')))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698