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

Side by Side Diff: scripts/slave/recipe_modules/cronet/api.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Roll to latest recipes-py Created 5 years, 3 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 """Common steps for recipes that sync/build Cronet sources.""" 5 """Common steps for recipes that sync/build Cronet sources."""
6 6
7 from infra.libs.infra_types import freeze 7 from recipe_engine.types import freeze
8 from recipe_engine import recipe_api 8 from recipe_engine import recipe_api
9 9
10 INSTRUMENTATION_TESTS = freeze([ 10 INSTRUMENTATION_TESTS = freeze([
11 { 11 {
12 'test': 'CronetSampleTest', 12 'test': 'CronetSampleTest',
13 'gyp_target': 'cronet_sample_test_apk', 13 'gyp_target': 'cronet_sample_test_apk',
14 'kwargs': { 14 'kwargs': {
15 'install_apk': { 15 'install_apk': {
16 'package': 'org.chromium.cronet_sample_apk', 16 'package': 'org.chromium.cronet_sample_apk',
17 'apk': 'CronetSample.apk' 17 'apk': 'CronetSample.apk'
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 droid.common_tests_setup_steps() 101 droid.common_tests_setup_steps()
102 with self.m.step.defer_results(): 102 with self.m.step.defer_results():
103 for suite in UNIT_TESTS: 103 for suite in UNIT_TESTS:
104 droid.run_test_suite(suite) 104 droid.run_test_suite(suite)
105 for suite in INSTRUMENTATION_TESTS: 105 for suite in INSTRUMENTATION_TESTS:
106 droid.run_instrumentation_suite( 106 droid.run_instrumentation_suite(
107 suite['test'], verbose=True, 107 suite['test'], verbose=True,
108 **suite.get('kwargs', {})) 108 **suite.get('kwargs', {}))
109 droid.common_tests_final_steps() 109 droid.common_tests_final_steps()
110 110
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromium_tests/builders.py ('k') | scripts/slave/recipe_modules/cronet/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698