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

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

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies Created 5 years, 6 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 infra.libs.infra_types import freeze
8 from slave 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'
18 }, 18 },
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 droid.common_tests_setup_steps() 90 droid.common_tests_setup_steps()
91 with self.m.step.defer_results(): 91 with self.m.step.defer_results():
92 for suite in UNIT_TESTS: 92 for suite in UNIT_TESTS:
93 droid.run_test_suite(suite) 93 droid.run_test_suite(suite)
94 for suite in INSTRUMENTATION_TESTS: 94 for suite in INSTRUMENTATION_TESTS:
95 droid.run_instrumentation_suite( 95 droid.run_instrumentation_suite(
96 suite['test'], verbose=True, 96 suite['test'], verbose=True,
97 **suite.get('kwargs', {})) 97 **suite.get('kwargs', {}))
98 droid.common_tests_final_steps() 98 droid.common_tests_final_steps()
99 99
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/commit_position/example.py ('k') | scripts/slave/recipe_modules/disk/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698