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

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

Issue 2206113002: [WebView] Update CTS logic to load test name from json. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: [WebView] Update CTS logic to load test name from json. Created 4 years, 4 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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 stream='stdout')) + 389 stream='stdout')) +
390 api.override_step_data('Read test result and report failures', 390 api.override_step_data('Read test result and report failures',
391 api.raw_io.output(result_xml_with_unexpected_failure_method))) 391 api.raw_io.output(result_xml_with_unexpected_failure_method)))
392 392
393 yield (api.test('webview_cts_invalid_output') + 393 yield (api.test('webview_cts_invalid_output') +
394 properties_for('webview_cts') + 394 properties_for('webview_cts') +
395 api.override_step_data('Run CTS', api.raw_io.stream_output( 395 api.override_step_data('Run CTS', api.raw_io.stream_output(
396 'Invalid CTS output here...', 396 'Invalid CTS output here...',
397 stream='stdout'))) 397 stream='stdout')))
398 398
399 yield (api.test('webview_cts_invalid_platform') +
400 properties_for('webview_cts') +
401 api.override_step_data('Fetch CTS filename data',
402 api.raw_io.output(
403 '''
404 {
405 "arm_63": {
406 "L": "cts_arm63_L.zip"
407 }
408 }
409 '''),
410 stream='stdout'))
411
399 yield (api.test('device_file_format_mismatch') + 412 yield (api.test('device_file_format_mismatch') +
400 properties_for('tester') + 413 properties_for('tester') +
401 api.override_step_data('fix_device_file_format.read_device_file', 414 api.override_step_data('fix_device_file_format.read_device_file',
402 api.raw_io.output('["device1", "device2"]'))) 415 api.raw_io.output('["device1", "device2"]')))
403 416
404 yield (api.test('tombstones_m53') + 417 yield (api.test('tombstones_m53') +
405 properties_for('tester') + 418 properties_for('tester') +
406 api.override_step_data('get version (2)', 419 api.override_step_data('get version (2)',
407 api.raw_io.output('MAJOR=53\nMINOR=0\nBUILD=2800\nPATCH=0\n'))) 420 api.raw_io.output('MAJOR=53\nMINOR=0\nBUILD=2800\nPATCH=0\n')))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698