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/chromium_android/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: Copyright notices Created 5 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 import os 5 import os
6 import re 6 import re
7 import urllib 7 import urllib
8 8
9 from infra.libs.infra_types import freeze 9 from infra.libs.infra_types import freeze
10 from slave import recipe_api 10 from recipe_engine import recipe_api
11 11
12 INSTRUMENTATION_TESTS = freeze([ 12 INSTRUMENTATION_TESTS = freeze([
13 { 13 {
14 'test': 'AndroidWebViewTest', 14 'test': 'AndroidWebViewTest',
15 'gyp_target': 'android_webview_test_apk', 15 'gyp_target': 'android_webview_test_apk',
16 'kwargs': { 16 'kwargs': {
17 'install_apk': { 17 'install_apk': {
18 'package': 'org.chromium.android_webview.shell', 18 'package': 'org.chromium.android_webview.shell',
19 'apk': 'AndroidWebView.apk' 19 'apk': 'AndroidWebView.apk'
20 }, 20 },
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 except self.m.step.StepFailure as f: 757 except self.m.step.StepFailure as f:
758 step_result = f.result 758 step_result = f.result
759 raise 759 raise
760 finally: 760 finally:
761 if (step_result.retcode == EXIT_CODES['error']): 761 if (step_result.retcode == EXIT_CODES['error']):
762 step_result.presentation.status = self.m.step.FAILURE 762 step_result.presentation.status = self.m.step.FAILURE
763 elif (step_result.retcode == EXIT_CODES['infra']): 763 elif (step_result.retcode == EXIT_CODES['infra']):
764 step_result.presentation.status = self.m.step.EXCEPTION 764 step_result.presentation.status = self.m.step.EXCEPTION
765 elif (step_result.retcode == EXIT_CODES['warning']): 765 elif (step_result.retcode == EXIT_CODES['warning']):
766 step_result.presentation.status = self.m.step.WARNING 766 step_result.presentation.status = self.m.step.WARNING
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698